body {
    background: #dbd7d7fb;
    margin: 0;
    padding: 0;
}

.auth-nav {
    background: #0e394b;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.auth-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.auth-nav .logo img,
.auth-nav .logo .logo-image {
    height: 27px;
    width: auto;
}

.auth-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.auth-nav .nav-links a {
    color: #cce9e8;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-nav .nav-links a:hover {
    color: #fff;
}

.auth-nav .nav-links .divider {
    color: #2a4a5a;
    font-size: 18px;
    line-height: 1;
}

.auth-nav .nav-links .icon-back {
    font-size: 11px;
}

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: #f0f4f4;
}

.auth-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
    padding: 50px 48px;
    width: 100%;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card .auth-logo img {
    height: 44px;
    width: auto;
}

.auth-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0d2233;
    margin-bottom: 6px;
    text-align: center;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 32px;
}

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

.auth-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-card .form-group .input-box {
    position: relative;
}

.auth-card .form-group .input-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}

.auth-card .form-group input {
    width: 100%;
    height: 52px;
    border: 1px solid #dde4e4;
    border-radius: 4px;
    padding: 0 18px 0 44px;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}

.auth-card .form-group input::placeholder {
    color: #bbb;
}

.auth-card .form-group input:focus {
    border-color: #1a6b6b;
    box-shadow: 0 0 0 3px rgba(26, 107, 107, 0.08);
}

.auth-card .form-group input.is-invalid {
    border-color: #c0392b;
}

.auth-card .invalid-feedback {
    font-size: 12px;
    color: #c0392b;
    margin-top: 5px;
    display: block;
}

.auth-card .remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 13px;
}

.auth-card .remember-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.auth-card .remember-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #1a6b6b;
}

.auth-card .forgot-link {
    color: #1a6b6b;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}

.auth-card .forgot-link:hover {
    text-decoration: underline;
}

.auth-card .btn-auth {
    width: 100%;
    height: 54px;
    background: #0d4f4f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-card .btn-auth:hover {
    background: #0a3d3d;
    transform: translateY(-1px);
}

.auth-card .btn-auth i {
    font-size: 13px;
}

.auth-card .auth-footer-link {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: #888;
}

.auth-card .auth-footer-link a {
    color: #1a6b6b;
    font-weight: 600;
    text-decoration: none;
}

.auth-card .auth-footer-link a:hover {
    text-decoration: underline;
}

.auth-alert {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 4px;
    padding: 11px 15px;
    font-size: 13px;
    color: #2e7d32;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .auth-nav .nav-inner {
        min-height: 76px;
        height: auto;
        padding: 14px 0;
        gap: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-nav .logo img,
    .auth-nav .logo .logo-image {
        height: 34px;
    }

    .auth-nav .nav-links {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .auth-nav .nav-links a {
        gap: 8px;
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
    }

    .auth-nav .nav-links .divider {
        display: none;
    }

    .auth-page {
        min-height: calc(100vh - 76px);
        padding: 28px 0 36px;
    }

    .auth-card {
        border-radius: 8px;
        padding: 28px 22px;
    }

    .auth-card h2 {
        font-size: 22px;
    }

    .auth-card .auth-subtitle {
        margin-bottom: 26px;
    }

    .auth-card .remember-row {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .auth-card .btn-auth {
        height: 52px;
    }

    .auth-card .auth-footer-link {
        line-height: 1.7;
    }
}
