body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: #f6f9fc;
}
.sing {
    margin-bottom: 20px;
}

    .sing h6 {
        font-size: 22px;
        font-weight: 600;
        color: #222;
        margin-bottom: 8px;
        font-family: "Poppins", sans-serif;
    }

    .sing p {
        font-size: 15px;
        color: #666;
        margin: 0;
    }

        .sing p a {
            color: #007bff;
            text-decoration: underline;
            font-weight: 500;
            transition: all 0.3s ease;
        }

            .sing p a:hover {
                color: #0056b3;
                text-decoration: underline;
            }


.form-sec {
    margin: 0;
    padding: 0;
}
.password-wrapper {
    position: relative;
}

    .password-wrapper .form-control {
        padding-right: 15px;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

    .toggle-password:hover {
        color: #000;
    }
.input-group {
    margin-bottom: 15px;
}

img.brand_logo {
    margin-bottom: 20px;
    width: 100px;
}

.form-control {
    font-size: 15px;
}

.custom-control-label {
    font-size: 14px;
}

.login_btn {
    font-size:15px;
    font-weight:bold;
    width: 100%;
    background: #2a6da7 !important;
    color: white !important;
}

    .login_btn:focus {
        box-shadow: none !important;
        outline: 0px !important;
    }

.login_container {
    padding: 0 2rem;
}

.input-group-text {
    background: #2a6da7 !important;
    color: white !important;
    height: 40px;
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
    width: 40px;
}

.input_user,
.form-control,
.input_pass:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #001b54 !important;
}

/* Updated Section */
#forms {
    position: relative;
    top: 5%;
}

#login,
#register,
#forgotpassword {
    display: none;
    width: 100%;
    padding: 30px;
    animation: fadeIn 0.4s ease;
}

/* default login show */
#login {
    display: block;
}

/* ================= REGISTER ================= */
#toregister:target ~ #forms #register {
    display: block;
}

#toregister:target ~ #forms #login,
#toregister:target ~ #forms #forgotpassword {
    display: none;
}

/* ================= LOGIN ================= */
#tologin:target ~ #forms #login {
    display: block;
}

#tologin:target ~ #forms #register,
#tologin:target ~ #forms #forgotpassword {
    display: none;
}

/* ================= FORGOT PASSWORD ================= */
#toforgot:target ~ #forms #forgotpassword {
    display: block !important;
}

#toforgot:target ~ #forms #login,
#toforgot:target ~ #forms #register {
    display: none;
}

/* ================= DEFAULT FALLBACK ================= */
body:not(:has(:target)) #forms #login {
    display: block;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    /*overflow: hidden;*/
    position: relative;
}

    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url(../images/bg-login.png);
        background-size: cover;
        background-position: center;
        z-index: -2;
    }
     
.account-pages {
    min-height: 100vh;  
}

.card {
    width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: none;
}
 
.download-section h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    font-family: sans-serif;
    color: #000;
}

.download-section a {
    display: inline-block;
    margin: 5px 10px 10px 0;
}
    .download-section img{
        width:130px;
    }
    .download-section img {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .download-section img:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

.download-section hr {
    margin: 10px 0;
    border-top: 1px solid #ccc;
}

@media (max-width: 767px) {

    body {
        overflow-y: auto !important;
    }

    .card {
        max-height: none;
        overflow: visible;
    }

    #forms {
        position: relative;
        top: 0;
        padding-bottom: 20px; 
    }
}