/* Shared palette aligned with Home page */
:root {
    --auth-forest: #122e48;
    --auth-forest-mid: #132f45;
    --auth-forest-light: #1f4e6b;
    --auth-champagne: #b08968;
    --auth-champagne-soft: rgba(176, 137, 104, 0.18);
    --auth-ivory: #ffffff;
    --auth-paper: #f9f7f4;
    --auth-border: #e8e3dc;
    --auth-text: #0f172a;
    --auth-text-soft: #6b7280;
}

.auth-shell {
    padding: 52px 16px 68px;
    background: linear-gradient(180deg, #f8fafc 0%, #f6f3ef 100%);
}

.auth-container {
    max-width: 1100px;
    margin: 0 auto;
}

.auth-panel {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    background: var(--auth-ivory);
    border: 1px solid var(--auth-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(18, 46, 72, 0.12);
}

.auth-brand {
    position: relative;
    background: linear-gradient(150deg, var(--auth-forest) 0%, var(--auth-forest-mid) 60%, var(--auth-forest-light) 100%);
    color: #fff;
    padding: 44px 34px;
}

.auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(176, 137, 104, 0.25), transparent 38%),
        radial-gradient(circle at 85% 80%, rgba(176, 137, 104, 0.18), transparent 35%);
    pointer-events: none;
}

.auth-brand-inner {
    position: relative;
    z-index: 1;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 18px;
}

.auth-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--auth-champagne);
}

.auth-brand h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 14px;
}

.auth-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 22px;
}

.auth-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 11px;
}

.auth-benefits i {
    width: 22px;
    text-align: center;
    color: var(--auth-champagne);
}

.auth-form-wrap {
    padding: 38px 34px 34px;
    background: #fff;
}

.auth-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--auth-text);
    margin-bottom: 7px;
    line-height: 1.15;
}

.auth-subtitle {
    color: var(--auth-text-soft);
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-alert {
    background: #fff2f2;
    border: 1px solid #f7c8c8;
    color: #9b1c1c;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

.auth-group {
    margin-bottom: 13px;
}

.auth-label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: #263449;
    font-size: 13px;
}

.auth-input,
.auth-select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #dde5ef;
    border-radius: 10px;
    background: #fcfdff;
    color: var(--auth-text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.auth-input:focus,
.auth-select:focus {
    outline: none;
    border-color: #8ca5c0;
    box-shadow: 0 0 0 3px rgba(31, 78, 107, 0.12);
    transform: translateY(-1px);
}

.auth-note {
    display: block;
    margin-top: 6px;
    font-weight: 600;
    font-size: 12px;
}

.auth-link {
    color: var(--auth-forest-light);
    text-decoration: none;
    transition: color 0.25s ease;
}

.auth-link:hover {
    color: var(--auth-forest);
    text-decoration: underline;
}

.auth-link.block {
    display: block;
    margin: 8px 0 14px;
    font-size: 13px;
}

.auth-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap .auth-input {
    padding-right: 44px;
}

.auth-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
}

.auth-password-toggle:hover {
    color: var(--auth-forest);
    background: rgba(31, 78, 107, 0.08);
}

.auth-password-toggle:focus {
    outline: none;
}

.auth-password-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(31, 78, 107, 0.18);
}

.auth-submit {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.auth-submit.blue {
    background: linear-gradient(135deg, #1f4e6b, #2b6384);
    box-shadow: 0 8px 20px rgba(31, 78, 107, 0.22);
}

.auth-submit.orange {
    background: linear-gradient(135deg, #8c6a4a, #b08968);
    box-shadow: 0 8px 20px rgba(176, 137, 104, 0.25);
}

.auth-submit.purple {
    background: linear-gradient(135deg, #132f45, #1f4e6b);
    box-shadow: 0 8px 20px rgba(19, 47, 69, 0.22);
}

.auth-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 13px;
}

.auth-center {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
}

.consultant-wrap {
    padding: 30px 16px;
}

.consultant-alert {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 12px 14px;
    border-radius: 12px;
    max-width: 720px;
}

.consultant-title {
    font-weight: 800;
    margin-bottom: 6px;
}

.consultant-text {
    color: #64748b;
    margin: 0;
}

.consultant-login-link {
    margin-left: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 992px) {
    .auth-panel {
        grid-template-columns: 1fr;
    }

    .auth-brand,
    .auth-form-wrap {
        padding: 30px 22px;
    }
}

@media (max-width: 640px) {
    .auth-row-2 {
        grid-template-columns: 1fr;
    }
}
