.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(21, 128, 61, 0.18), transparent 30%),
        linear-gradient(135deg, #eff6f2 0%, #f8fbf9 48%, #eef5f0 100%);
    font-family: 'Open Sans', sans-serif;
}

.auth-shell {
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.auth-frame {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
}

.auth-brand-panel {
    min-height: 100%;
    background: linear-gradient(155deg, rgba(4, 120, 87, 0.96) 0%, rgba(6, 95, 70, 0.94) 100%);
    color: #ffffff;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel--image {
    background:
        linear-gradient(155deg, rgba(4, 120, 87, 0.96) 0%, rgba(6, 95, 70, 0.94) 100%),
        url('/img/bg2.png') center/cover no-repeat;
}

.auth-brand-panel::before,
.auth-brand-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-brand-panel::before {
    width: 240px;
    height: 240px;
    top: -80px;
    right: -70px;
}

.auth-brand-panel::after {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: -50px;
}

.auth-panel-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #d1fae5;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.auth-brand-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.auth-brand-copy {
    color: rgba(255, 255, 255, 0.86);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.auth-feature-list,
.auth-steps {
    display: grid;
    gap: 0.9rem;
}

.auth-feature-list {
    margin-top: auto;
}

.auth-feature,
.auth-step {
    display: flex;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-feature {
    align-items: flex-start;
}

.auth-feature-icon,
.auth-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.auth-feature-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.8rem;
}

.auth-step-badge {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.8rem;
    font-weight: 700;
}

.auth-callout {
    margin-top: auto;
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
}

.auth-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: auto;
}

.auth-metric {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-metric strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.auth-form-panel {
    padding: 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fdfefd 100%);
}

.auth-logo-wrap {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f1f7f3 100%);
    border: 1px solid rgba(22, 101, 52, 0.12);
    box-shadow: 0 14px 30px rgba(22, 101, 52, 0.08);
    margin-bottom: 1rem;
}

.auth-form-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.85rem;
    color: #102a1a;
    margin-bottom: 0.35rem;
}

.auth-form-subtitle {
    color: #5f6f65;
    margin-bottom: 1.75rem;
}

.auth-alert .alert {
    border: 0;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
}

.auth-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f3a29;
    margin-bottom: 0.45rem;
}

.auth-input-group {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #5f7668;
    z-index: 2;
}

.auth-input,
.auth-textarea,
.auth-password-toggle {
    border-radius: 16px;
    border: 1px solid #d8e6dc;
    background: #fbfdfb;
}

.auth-input {
    height: 3.4rem;
    padding-left: 2.85rem;
    padding-right: 3rem;
    color: #173122;
}

.auth-textarea {
    min-height: 5rem;
    padding: 0.95rem 1rem 0.95rem 2.85rem;
    color: #173122;
    resize: vertical;
}

.auth-input:focus,
.auth-textarea:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.14);
    background: #ffffff;
}

.auth-textarea-wrap .auth-input-icon {
    top: 1rem;
    transform: none;
}

.auth-password-toggle {
    position: absolute;
    right: 0.35rem;
    top: 0.35rem;
    height: calc(100% - 0.7rem);
    width: 2.7rem;
    border: 0;
    background: transparent;
    color: #52705e;
    z-index: 3;
}

.auth-password-toggle:hover {
    color: #14532d;
}

.auth-submit {
    height: 3.5rem;
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #198754 0%, #11663f 100%);
    border: 0;
    box-shadow: 0 18px 30px rgba(25, 135, 84, 0.22);
}

.auth-submit:hover {
    background: linear-gradient(135deg, #157347 0%, #0f5132 100%);
}

.auth-meta-link {
    color: #198754;
    font-weight: 700;
    text-decoration: none;
}

.auth-meta-link:hover {
    color: #0f5132;
}

.auth-footer-note {
    color: #607167;
    font-size: 0.94rem;
}

@media (max-width: 991.98px) {
    .auth-brand-panel,
    .auth-form-panel {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .auth-shell {
        padding: 1rem 0;
    }

    .auth-frame {
        border-radius: 22px;
    }

    .auth-brand-panel,
    .auth-form-panel {
        padding: 1.5rem;
    }

    .auth-metrics {
        grid-template-columns: 1fr;
    }
}
