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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: #173f35;
}

.auth-page {
    width: 100%;
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(248, 244, 235, 0.18),
            rgba(248, 244, 235, 0.18)
        ),
        url('../img/adminlogin.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    padding: 42px 48px;
    box-shadow:
        0 20px 60px rgba(32, 47, 40, 0.13),
        0 4px 15px rgba(32, 47, 40, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.auth-logo a {
    display: inline-flex;
}

.auth-logo img {
    width: 190px;
    height: auto;
    display: block;
}

.auth-tagline {
    text-align: center;
    font-family: Georgia, serif;
    font-style: italic;
    color: #786b5d;
    font-size: 16px;
    margin-top: 4px;
}

.auth-divider {
    width: 90px;
    height: 1px;
    background: #c9a875;
    margin: 22px auto 27px;
}

.auth-card h1 {
    font-family: Georgia, serif;
    text-align: center;
    font-size: 38px;
    font-weight: 400;
    color: #164d3f;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: #78827e;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #173f35;
    font-size: 14px;
    font-weight: 600;
}

.form-group label span {
    color: #c8453e;
}

.form-group .input {
    width: 100%;
    margin: 0;
}

.form-input {
    width: 100%;
    height: 53px;
    padding: 0 16px;
    border: 1px solid #cbd3cf;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #253f38;
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #a0aaa6;
}

.form-input:focus {
    border-color: #1a634f;
    box-shadow: 0 0 0 3px rgba(26, 99, 79, 0.1);
}

.password-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.password-heading label {
    margin-bottom: 0;
}

.forgot-password {
    color: #b3844e;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    color: #8f693d;
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 10px;
    background: #14614d;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-button:hover {
    background: #104e3e;
    box-shadow: 0 8px 18px rgba(20, 97, 77, 0.18);
    transform: translateY(-1px);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-bottom {
    margin-top: 24px;
    text-align: center;
}

.small-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #909994;
    font-size: 13px;
    margin-bottom: 17px;
}

.small-divider::before,
.small-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e2dd;
}

.small-divider span {
    flex-shrink: 0;
}

.back-link {
    color: #a87842;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    color: #805b34;
    text-decoration: underline;
}

.message {
    width: 100%;
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
}

.message.success {
    background: #e1f1e5;
    border: 1px solid #bdddc5;
    color: #24643d;
}

.message.error {
    background: #fce5e5;
    border: 1px solid #edbaba;
    color: #a93434;
}

.error-message {
    color: #b53c36;
    font-size: 12px;
    margin-top: 6px;
}

@media (max-width: 700px) {
    .auth-page {
        padding: 25px 15px;
        background-position: center;
    }

    .auth-card {
        max-width: 430px;
        padding: 34px 25px;
        border-radius: 17px;
    }

    .auth-logo img {
        width: 165px;
    }

    .auth-card h1 {
        font-size: 32px;
    }

    .auth-tagline {
        font-size: 14px;
    }

    .form-input {
        height: 50px;
    }

    .auth-button {
        height: 51px;
    }

    .auth-logo {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

.auth-logo a {
    display: inline-block;
}

.auth-logo-image {
    display: block !important;
    width: 170px !important;
    max-width: 170px !important;
    height: auto !important;
    object-fit: contain;
}
}