:root {
    --primary: #00A99D;
    --primary-dark: #087F77;
    --primary-soft: #E6FFFC;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-soft: #CCFBF1;
    --white: #FFFFFF;
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 169, 157, 0.18), transparent 32%),
        linear-gradient(135deg, #F8FAFC 0%, #E6FFFC 50%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.auth-shell {
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 169, 157, 0.18);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.auth-hero {
    background: linear-gradient(145deg, #00A99D 0%, #087F77 100%);
    color: white;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
}

.auth-logo-wrap {
    width: 86px;
    height: 86px;
    background: white;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.auth-logo {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.auth-hero h1 {
    margin-top: 42px;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-hero p {
    margin-top: 18px;
    max-width: 430px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.7;
}

.auth-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.auth-badge {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

.auth-form-panel {
    padding: 56px;
    display: flex;
    align-items: center;
}

.auth-card {
    width: 100%;
}

.auth-card h2 {
    font-size: 30px;
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: 0;
}

.auth-card .subtitle {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.auth-field {
    margin-top: 22px;
}

.auth-label {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-input {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: 14px;
    padding: 13px 15px;
    color: var(--text-dark);
    background: white;
    outline: none;
    transition: 0.2s ease;
}

.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.14);
}

.auth-options {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-button {
    width: 100%;
    margin-top: 26px;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 14px 30px rgba(0, 169, 157, 0.28);
}

.auth-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.auth-link {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .auth-hero {
        min-height: auto;
        padding: 34px;
    }

    .auth-hero h1 {
        font-size: 30px;
        margin-top: 26px;
    }

    .auth-form-panel {
        padding: 34px;
    }
}

@media (max-width: 520px) {
    .auth-page {
        padding: 16px;
    }

    .auth-hero,
    .auth-form-panel {
        padding: 24px;
    }

    .auth-card h2 {
        font-size: 25px;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
.simple-login-page {
    background:
        radial-gradient(circle at top, rgba(0, 169, 157, 0.18), transparent 34%),
        linear-gradient(135deg, #F8FAFC 0%, #E6FFFC 48%, #FFFFFF 100%);
}

.simple-login-card {
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 169, 157, 0.18);
    border-radius: 26px;
    padding: 42px 34px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    text-align: center;
}

.simple-login-logo-wrap {
    width: 118px;
    height: 118px;
    margin: 0 auto 22px;
    border-radius: 28px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0, 169, 157, 0.22);
    border: 1px solid rgba(0, 169, 157, 0.18);
}

.simple-login-logo {
    max-width: 94px;
    max-height: 94px;
    object-fit: contain;
}

.simple-login-card h1 {
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: 0;
}

.simple-login-subtitle {
    margin-top: 8px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

.simple-login-form {
    margin-top: 26px;
    text-align: left;
}

@media (max-width: 520px) {
    .simple-login-card {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .simple-login-logo-wrap {
        width: 104px;
        height: 104px;
        border-radius: 24px;
    }

    .simple-login-logo {
        max-width: 82px;
        max-height: 82px;
    }

    .simple-login-card h1 {
        font-size: 23px;
    }
}
.modern-navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7edf3;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.modern-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.modern-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.modern-brand-text {
    display: none;
}

@media (min-width: 768px) {
    .modern-brand-text {
        display: block;
    }
}

.modern-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.modern-brand-sub {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-top: 2px;
}

.modern-menu {
    display: none;
    align-items: center;
    gap: 6px;
    margin-left: 28px;
}

@media (min-width: 1024px) {
    .modern-menu {
        display: flex;
    }
}

.modern-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.18s ease;
}

.modern-nav-link:hover {
    background: #f0fdfa;
    color: #007f76;
    transform: translateY(-1px);
}

.modern-nav-link.is-active {
    background: #00a99d;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 169, 157, 0.18);
}

.modern-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.18s ease;
}

.modern-user-button:hover {
    border-color: #99f6e4;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.modern-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #00a99d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.modern-mobile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 800;
}

@media (min-width: 1024px) {
    .modern-mobile-button {
        display: none;
    }
}

.modern-mobile-panel {
    border-top: 1px solid #e7edf3;
    padding: 10px 16px 16px;
    background: #ffffff;
}

.modern-mobile-link {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 4px;
}

.modern-mobile-link:hover,
.modern-mobile-link.is-active {
    background: #f0fdfa;
    color: #007f76;
}

[x-cloak] {
    display: none !important;
}