*{

    margin:0;

    padding:0;

    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    position:relative;

    background:
    linear-gradient(
        rgba(2,17,40,0.88),
        rgba(2,17,40,0.88)
    ),
    url('../images/ministry-building.jpg');

    background-size:cover;

    background-position:center;
}

/* OVERLAY LIGHT */

.bg-overlay{

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        rgba(255,191,0,0.08),
        transparent 70%
    );

    pointer-events:none;
}

/* CONTAINER */

.login-container{

    width:100%;

    padding:20px;

    display:flex;

    justify-content:center;

    position:relative;

    z-index:2;
}

/* CARD */
.login-card{

    width:100%;

    max-width:420px;

    padding:32px 30px;

    border-radius:24px;

    background:
    linear-gradient(
        145deg,
        rgba(6,32,72,0.92),
        rgba(3,20,45,0.92)
    );

    border:
    1px solid rgba(255,255,255,0.10);

    backdrop-filter:blur(14px);

    box-shadow:
    0 20px 60px rgba(0,0,0,0.45);

    text-align:center;
}

/* LOGO */

.login-logo{

    width:90px;

    margin-bottom:16px;
}

/* TITLE */

.login-top h1{

    color:white;

    font-size:36px;

    font-weight:700;

    margin-bottom:12px;
}

.login-top h1 span{

    color:#ffbf00;
}

/* GOLD LINE */

.gold-line{

    color:#ffbf00;

    font-size:24px;

    margin-bottom:18px;
}

/* TEXT */

.login-top p{

    color:#d6d6d6;

    font-size:18px;

    line-height:1.8;
}

.login-top h3{

    color:#ffbf00;

    margin-top:10px;

    font-size:28px;

    font-weight:500;
}

/* FORM */

form{

    margin-top:40px;
}

/* INPUT */

.input-group{

    margin-bottom:22px;
}

.input-group input{

    width:100%;

    height:54px;

    border:none;

    outline:none;

    border-radius:14px;

    padding:0 20px;

    font-size:16px;

    color:white;

    background:
    rgba(255,255,255,0.06);

    border:
    1px solid rgba(255,255,255,0.10);

    transition:0.3s;
}

.input-group input:focus{

    border-color:#ffbf00;

    background:
    rgba(255,255,255,0.09);
}

/* OPTIONS */

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

    color:white;

    font-size:14px;
}

.login-options a{

    color:#ffbf00;

    text-decoration:none;
}

/* BUTTON */

.login-btn{

    width:60%;

    height:56px;

    border:none;

    border-radius:14px;

    background:
    linear-gradient(
        135deg,
        #ffcf40,
        #ffb300
    );

    color:#111;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

.login-btn:hover{

    transform:
    translateY(-3px);

    box-shadow:
    0 12px 25px rgba(0,0,0,0.35);
}

/* FOOT TEXT */

.secure-text{

    margin-top:35px;

    color:#cfcfcf;

    font-size:15px;

    line-height:1.8;
}

/* RESPONSIVE */

@media(max-width:768px){

    .login-card{

        padding:35px 25px;
    }

    .login-top h1{

        font-size:38px;
    }

    .login-top h3{

        font-size:22px;
    }

    .captcha-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
    }

    .captcha-image {
        width: 240px;
        height: 80px;
        border: 1px solid #d6d6d6;
        border-radius: 8px;
        background: #fff;
        user-select: none;
        -webkit-user-drag: none;
    }

    .captcha-refresh {
        width: 45px;
        height: 45px;
        border: none;
        border-radius: 50%;
        background: #ffc107;
        color: #000;
        font-size: 22px;
        cursor: pointer;
        transition: 0.3s;
        flex-shrink: 0;
    }

    .captcha-refresh:hover {
        background: #e0a800;
        transform: rotate(180deg);
    }

    .captcha-refresh:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

    .input-error {
        color: #ff4d4d;
        display: block;
        margin-top: 8px;
        font-size: 13px;
    }
}