@import url("https://fonts.googleapis.com/css?family=Baloo+Da");
.font-bangla {
    /* font-family: "Tiro Bangla", serif; */
    font-family: "Baloo Da", cursive;
}

body {
    font-family: "Google Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Gradient */
.gradient {
    height: fit-content;
    z-index: 3;
    background-image: radial-gradient(
            at 27% 37%,
            hsla(215, 98%, 61%, 1) 0px,
            transparent 0%
        ),
        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 1) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 1) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%),
        radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%),
        radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%),
        radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%);
    width: 100%;
    height: 100%;
    filter: blur(100px) saturate(150%);
    opacity: 0.15;
}

/* ************************ Background Gradient End ************************ */

/* ************************ Idle time view ************************ */
.section {
    position: relative;
    background-color: #edfffe;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
}

.starting {
    width: 810px;
    margin: 0 auto;
    /* height: 100%; */
    /* position: absolute; */
    object-position: top;
    top: 0px;
    left: 0;
    /* opacity: 0.7; */
}

.shape {
    color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70%;
    /* Adjust the height as needed */
    clip-path: polygon(50% 44%, 100% 70%, 100% 99%, 0 98%, 0 70%);
    /* background-color: rgba(255, 255, 255, 0.8); Semi-transparent white background */
    background-color: white;
    /* Semi-transparent white background */
    z-index: 99999;
}

.shape-shade {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80%;
    /* Adjust the height as needed */
    clip-path: polygon(50% 44%, 100% 73%, 100% 99%, 0 98%, 0 73%);
    background-color: rgba(0, 0, 0, 0.3);
    /* background-color: white; Semi-transparent white background */
    z-index: 9999;
}

.starting-text {
    /* font-weight: bolder; */
    position: absolute;
    bottom: 60%;
    width: 60%;
    height: 20%;
    text-align: center;
    /* overflow-Y: scroll; */
    z-index: 9999999999;
    color: black;
    left: 50%;
    transform: translateX(-50%);
}

/* ####################### Idle time view end ######################## */

/* ####################### header buttons styles ####################### */

#home > img,
.logout > img {
    height: 40px;
    width: 40px;
}

/*  #home {
        position: absolute;
        top: 10px;
        left: 70px;
    } */

.language-switch {
    position: fixed;
    top: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 9999;
}

.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 75px;
    height: 1.5em;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    font-size: 11px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "Eng";
    height: 90%;
    width: 48%;
    left: 2%;
    border-radius: 20px;
    background-color: white;
    color: #02a5a2;
    display: grid;
    align-content: center;
    justify-content: center;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.2),
        0 -1px 0 0 rgba(0, 0, 0, 0.1) inset,
        0 -1.31em 1.31em -1.31em rgba(0, 0, 0, 0.3) inset,
        0 0 1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.slider:after {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    border-radius: 1.71em;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.06),
        rgba(0, 0, 0, 0.1)
    );
    z-index: -1;
}

.switch input:checked + .slider {
    background-color: #02a5a2;
    color: #fff;
}

.switch input:checked + .slider:before {
    content: "বাং";
    transform: translateX(100%);
    color: red;
}

.bangla {
    color: gray;
}

.switch input {
    display: none;
}

.rotate-180 {
    --tw-rotate: 180deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y))
        rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
        scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* ------------------------------ header buttons styles end ------------------------------ */

/* ------------------------------- Dynamic Keyboard Styles ------------------------------- */

#keyboard,
#text-pad {
    display: grid !important;
}

#keyboard,
#text-pad-container {
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: -9999;
}

.key-pad li {
    float: left;
    margin: 0 5px 0 0;
    /* width: 60px; */
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #02a5a291;
    border-radius: 4px;
}

.key-pad li:hover {
    background: #f1f5f9;
}

/* ------------------------------- Dynamic Keyboard Styles End ------------------------------- */

/* .common-header {
    font-size: 3rem !important;
    font-weight: bold !important;
    color: #02a5a2 !important;
    text-align: center !important;
    margin-top: 13rem !important;
    margin-bottom: 13rem !important;
    z-index: 50 !important;
} */

/* .header {
    display: none;
} */

@media (min-height: 1500px) and (max-height: 1920px) {
    /* Language Selection Dropdown Menu */
    #user,
    #password,
    #police_station,
    .changeLang {
        font-size: 1.3rem !important;
    }
    #user::placeholder,
    #password::placeholder {
        font-size: 1.3rem !important;
    }
    /* Language Selection Dropdown End */

    /* Idle page view */
    .shape {
        height: 60%;
        clip-path: polygon(50% 0%, 100% 18%, 100% 100%, 0 100%, 0 18%);
    }

    .shape-shade {
        height: 65%;
        clip-path: polygon(50% 0%, 100% 24%, 100% 100%, 0 100%, 0 24%);
    }

    .starting-text {
        font-size: 40px;
        top: 50%;
        width: 70%;
    }

    /* Idle page end */

    /* Common Header */
    .header {
        /* display: none; */
        font-size: 3rem !important;
        line-height: 1 !important;
        /* display: none !important; */
        font-weight: bold !important;
        color: #02a5a2 !important;
        text-align: center !important;
        margin-top: 13rem !important;
        margin-bottom: 13rem !important;
        z-index: 50 !important;
    }
    /* Common Header End */

    .main {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 30vh !important;
        padding-left: 10rem !important;
        padding-right: 10rem !important;
    }

    /* Services Card */
    .card-container {
        padding-left: 5rem !important /* 80px */;
        padding-right: 5rem !important /* 80px */;
    }

    .card {
        max-width: 100% !important;
    }
    .card-title {
        /* display: none !important; */
        font-size: 1.875rem !important; /* 30px */
        line-height: 2.25rem !important; /* 36px */
    }
    .card-image {
        width: 34% !important;
    }
    /* Services Card End */

    /* Form Container */
    .form-container {
        width: 91.666667% !important;
    }
    /* Form Container */

    /* Common Input */
    .common-input {
        display: block !important;
        width: 100% !important;
        font-size: 1.5rem !important; /* equivalent to text-2xl */
        font-weight: bold !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 1rem !important;
        padding-left: 1.25rem !important; /* equivalent to ps-5 */
        color: #02a5a2 !important;
        border: 1px solid rgba(2, 165, 162, 0.568) !important; /* equivalent to border border-[#02A5A291] */
        border-radius: 0.5rem !important; /* equivalent to rounded-lg */
        background-color: transparent !important; /* equivalent to bg-transparent */
        outline: none !important; /* equivalent to outline-none */
    }
    .common-input::placeholder {
        color: #02a5a2a1 !important; /* equivalent to placeholder-[#02A5A2a1] */
        font-size: 1.5rem !important /* 24px */;
        line-height: 2rem !important /* 32px */;
        font-weight: normal; /* equivalent to placeholder:font-normal */
    }
    /* Common Input End */

    /* Commotn Submit Button */
    .common-submit {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem; /* equivalent to gap-3 */
        background-color: #02a5a2;
        width: 100%;
        cursor: pointer;
        text-align: center;
        font-size: 1.875rem !important /* 30px */;
        line-height: 2.25rem /* 36px */;
        padding: 1rem 2.5rem !important; /* equivalent to px-10 py-4 */
        border-radius: 0.375rem; /* equivalent to rounded-md */
        color: #fff;
        transition-property: background-color;
        transition-duration: 0.2s;
        font-weight: medium; /* equivalent to font-medium */
    }
    /* Commotn Submit Button */

    /* ------------------------------- Dynamic Keyboard Styles ------------------------------- */
    #keyboard,
    #text-pad-container {
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: -9999;
    }

    .key-pad li {
        float: left;
        margin: 0 5px 0 0;
        /* width: 60px; */
        height: 60px;
        font-size: 30px;
        line-height: 60px;
        text-align: center;
        background: #fff;
        border: 1px solid #02a5a291;
        border-radius: 5px;
    }

    .key-pad li:hover {
        background: #f1f5f9;
    }

    /* ------------------------------- Dynamic Keyboard Styles End ------------------------------- */

    /* Token */
    .token {
        margin-bottom: 13rem !important /* 80px */;
    }
    /* Token Style End */

    .user-info {
        margin: 20px 0;
        font-size: 28px;
        font-weight: bold;
    }
}
