.login-section {
    background: linear-gradient(rgba(33, 5, 219, 0.662), rgba(204, 123, 24, 0.525)), url('../Lib/image/bg1.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 90vh;
}

.header_section {
    background-color: rgb(36 35 32 / 50%);
    height: 75px;
    box-shadow: 0px 0px 5px 0px rgb(240, 238, 238);
}


.logo-section {
    padding: 5px 4px 6px 36px;
}

.header_icon img{
    height: 69px;
    width: 90px;
    padding: 8px 0px 0px 0px;
}

.logo_text {
    padding: 0px;
    margin: 0px;
    color: white;
}

.form_logo {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    border-top: 2px dashed rgb(21, 5, 5);
    text-align: center;
    position: absolute;
    top: -50px;
    left: 39%;
    justify-content: center;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.975);
}

    .form_logo i {
        font-size: 40px;
        padding: 35px 16px 20px 11px    ;
        color: #3204d7;
    }

.logo_text h2 {
    margin-top: 18px;
    font-size: 30px;
    letter-spacing: .2px;
    line-height: 15px;
}

.logo_text p {
    margin-top: 6px;
    line-height: 20px;
    font-weight: 400;
}

.logo-section img {
    height: 65px;
}

.form-card {
    background: rgba(254, 252, 252, 0.543);
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 5px 18px 0px rgba(7, 7, 7, 0.87);
    position: relative;
    z-index: 000000;
    margin-top: 63px;
    margin-bottom: 30px;
}

.form-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: rgba(214, 51, 132, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.form-card h3 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #3204d7;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: #232324;
}

.form-control,
.form-select {
    border-radius: 12px;
    height: 35px;
    padding: 0 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #abadae;
    box-shadow: none;
}

.input-group-text {
    background: #f2860a;
    color: #fff;
    border-radius: 12px 0 0 12px;
    border: none;
    font-size: 1rem;
    padding: 0px 15px 0px 15px;
}

.btn-primary {
    background-color: #f28508;
    border: none;
    border-radius: 10px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 31px;
}

.btn-primary:hover {
    background-color: #2706e3 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.captcha-img {
    background: #e3e2e2;
    padding: 5px 12px;
    border-radius: 8px;
    margin: 0px 1px;
    font-weight: bold;
    font-family: monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.bottom-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.bottom-links a {
    text-decoration: none;
    color: #3204d7;
    font-weight: 500;
    transition: 0.3s;
}

.bottom-links a:hover {
    text-decoration: underline;
}

.captcha_icon {
    color: #3204d7;
    font-size: 20px;
    padding: 0px;
    margin: 0px;
}

.captcha_text {
    color: #5e5d5d;
    margin: 1px;
    font-size: 12px;
    font-weight: 600;
}

.content_text{
    color: white;
    background-color: rgba(0, 0, 0, 0.228);
    padding: 19px;
}



/* ================== GLOBAL RESPONSIVE FIX ================== */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.login-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================== LARGE SCREENS (1200px+) ================== */
@media (min-width: 1200px) {
    .form-card {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================== LAPTOP / DESKTOP ================== */
@media (max-width: 1199px) {
    .form-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================== TABLETS ================== */
@media (max-width: 991px) {

    .header_section {
        height: auto;
        padding: 10px 0;
        text-align: center;
    }

    .header_icon {
        padding: 10px;
        font-size: 20px;
    }

    .logo-section {
        padding: 10px;
        text-align: center;
    }

    .logo_text h2 {
        font-size: 24px;
    }

    .form_logo {
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        top: -45px;
    }

    .form-card {
        margin-top: 90px;
        padding: 30px 20px;
    }
}

/* ================== MOBILE ================== */
@media (max-width: 576px) {

    .login-section {
        padding-bottom: 30px;
    }

    .logo_text h2 {
        font-size: 22px;
        line-height: 26px;
    }

    .logo_text p {
        font-size: 13px;
    }

    .form_logo {
        width: 85px;
        height: 85px;
        top: -40px;
    }

    .form_logo i {
        font-size: 28px;
        padding: 25px 0;
    }

    .form-card {
        margin-top: 70px;
        padding: 25px 15px;
    }

    .form-card h3 {
        font-size: 20px;
    }

    .form-control,
    .form-select {
        height: 42px;
        font-size: 14px;
    }

    .input-group-text {
        font-size: 14px;
        padding: 0 10px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 10px 0;
    }

    .bottom-links {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .captcha-img {
        font-size: 13px;
    }

    .content_text {
        font-size: 13px;
        padding: 12px;
    }
}

/* ================== EXTRA SMALL DEVICES ================== */
@media (max-width: 360px) {

    .logo_text h2 {
        font-size: 20px;
    }

    .form_logo {
        width: 75px;
        height: 75px;
    }

    .form-card {
        padding: 20px 12px;
    }

    .btn-primary {
        font-size: 13px;
    }
}
