/* =========================================================
   ADMIN LOGIN
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    background: #EAF8EF;
    color: #3A4A43;
}


/* =========================================================
   LOGIN CONTAINER
   ========================================================= */

.admin-login {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {
    width: 100%;
    max-width: 430px;

    background: #ffffff;

    padding: 40px;

    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(36, 122, 74, 0.10);

    border: 1px solid rgba(36, 122, 74, 0.08);
}


/* =========================================================
   LOGIN HEADER
   ========================================================= */

.login-header {
    text-align: center;

    margin-bottom: 32px;
}

.login-badge {
    display: inline-block;

    padding: 6px 12px;

    margin-bottom: 16px;

    background: #EAF8EF;
    color: #247A4A;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.8px;
}

.login-header h1 {
    margin-bottom: 10px;

    color: #247A4A;

    font-size: 28px;
    font-weight: 700;
}

.login-header p {
    color: #718078;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #3A4A43;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   INPUT
   ========================================================= */

.form-group input {
    width: 100%;

    height: 48px;

    padding: 0 15px;

    border: 1px solid #D7E5DC;
    border-radius: 10px;

    background: #ffffff;

    color: #3A4A43;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #A4AEA9;
}

.form-group input:focus {
    border-color: #7BCF9B;

    box-shadow:
        0 0 0 3px rgba(123, 207, 155, 0.15);
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-button {
    width: 100%;

    height: 48px;

    margin-top: 5px;

    border: none;
    border-radius: 10px;

    background: #247A4A;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-button:hover {
    background: #1E693F;

    box-shadow:
        0 6px 16px rgba(36, 122, 74, 0.18);
}

.login-button:active {
    transform: translateY(1px);
}


/* =========================================================
   LOGIN MESSAGE
   ========================================================= */

.login-message {
    min-height: 20px;

    margin-top: 15px;

    text-align: center;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {

    .admin-login {
        padding: 16px;
    }

    .login-card {
        padding: 30px 24px;

        border-radius: 16px;
    }

    .login-header h1 {
        font-size: 24px;
    }

}
