@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
    --auth-bg: #f7f9f5;
    --auth-ink: #0f2419;
    --auth-muted: #4f6458;
    --auth-card: rgba(255, 255, 255, 0.86);
    --auth-border: rgba(15, 36, 25, 0.16);
    --auth-primary: #1b6b34;
    --auth-primary-2: #2e6f43;
    --auth-primary-soft: rgba(46, 111, 67, 0.12);
    --auth-shadow: 0 24px 80px rgba(8, 30, 36, 0.18);
}

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1200px 400px at -10% 20%, rgba(27, 107, 52, 0.14), transparent 70%),
        radial-gradient(900px 360px at 110% 95%, rgba(46, 111, 67, 0.12), transparent 75%),
        var(--auth-bg);
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--auth-ink);
}

.auth-pro-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.auth-pro-showcase {
    position: relative;
    padding: 56px clamp(24px, 5vw, 76px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.auth-pro-showcase::before,
.auth-pro-showcase::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-pro-showcase::before {
    width: 380px;
    height: 380px;
    background: rgba(27, 107, 52, 0.16);
    top: -120px;
    right: -100px;
}

.auth-pro-showcase::after {
    width: 320px;
    height: 320px;
    background: rgba(46, 111, 67, 0.16);
    bottom: -130px;
    left: -80px;
}

.auth-pro-showcase-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    animation: authFadeSlide 0.7s ease both;
}

.auth-pro-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--auth-primary-soft);
    color: var(--auth-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.auth-pro-showcase h1 {
    margin: 14px 0 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.auth-pro-showcase p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    max-width: 56ch;
    color: var(--auth-muted);
}

.auth-pro-metrics {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.auth-pro-metrics article {
    border-radius: 16px;
    padding: 14px 12px;
    border: 1px solid var(--auth-border);
    background: rgba(255, 255, 255, 0.54);
    backdrop-filter: blur(4px);
}

.auth-pro-metrics strong {
    display: block;
    font-size: 24px;
    color: #1b6b34;
    letter-spacing: -0.02em;
}

.auth-pro-metrics span {
    font-size: 12px;
    color: var(--auth-muted);
}

.auth-pro-testimonial {
    margin-top: 18px;
    max-width: 420px;
    border-left: 3px solid rgba(27, 107, 52, 0.45);
    padding-left: 12px;
}

.auth-pro-testimonial p {
    font-size: 14px;
    margin: 0;
    color: #17373a;
}

.auth-pro-testimonial span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #496065;
}

.auth-pro-benefits {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
    max-width: 580px;
}

.auth-pro-benefits li {
    position: relative;
    padding-left: 24px;
    color: #37545a;
    font-size: 15px;
}

.auth-pro-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b6b34, #2e6f43);
}

.auth-pro-panel {
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-pro-card {
    width: min(510px, 100%);
    border-radius: 24px;
    border: 1px solid var(--auth-border);
    background: var(--auth-card);
    box-shadow: var(--auth-shadow);
    backdrop-filter: blur(8px);
    padding: 26px;
    animation: authFadeSlide 0.8s ease both;
}

.auth-pro-card-wide {
    width: min(620px, 100%);
}

.auth-pro-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-pro-logo-badge {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), #0ea395);
}

.auth-pro-logo h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.01em;
}

.auth-pro-logo p {
    margin: 2px 0 0;
    color: #5c6f74;
    font-size: 12px;
}

.auth-pro-tabs {
    margin-top: 20px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(11, 111, 95, 0.08);
}

.auth-pro-tabs a {
    text-align: center;
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
    color: #2b4a4f;
    transition: all 0.2s ease;
}

.auth-pro-tabs a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-2));
    box-shadow: 0 10px 20px rgba(13, 111, 94, 0.25);
}

.auth-pro-card h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-pro-subtitle {
    margin: 8px 0 18px;
    color: #5c6f74;
    font-size: 14px;
}

.auth-pro-alerts {
    margin-bottom: 12px;
}

.auth-pro-form {
    display: block;
}

.auth-pro-form .form-group {
    margin-bottom: 12px;
}

.auth-pro-form label {
    font-weight: 700;
    font-size: 13px;
    color: #27424a;
}

.auth-pro-form input {
    width: 100%;
    border: 1px solid #c9d8dc;
    border-radius: 11px;
    padding: 11px 12px;
    background: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-pro-form input:focus {
    outline: none;
    border-color: #2cba8e;
    box-shadow: 0 0 0 3px rgba(44, 186, 142, 0.18);
}

.auth-pro-help {
    color: #6f8288;
    font-weight: 500;
}

.auth-pro-btn {
    margin-top: 6px;
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-2));
    box-shadow: 0 14px 28px rgba(10, 110, 93, 0.26);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-pro-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(10, 110, 93, 0.3);
}

.auth-pro-footer {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 13px;
    color: #4f676d;
}

.auth-pro-footer a {
    color: #0a7868;
    font-weight: 700;
}

@keyframes authFadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .auth-pro-shell {
        grid-template-columns: 1fr;
    }

    .auth-pro-showcase {
        min-height: auto;
        padding-bottom: 16px;
    }

    .auth-pro-panel {
        padding-top: 0;
        padding-bottom: 24px;
    }
}

@media (max-width: 680px) {
    .auth-pro-showcase {
        padding: 24px 18px 12px;
    }

    .auth-pro-showcase h1 {
        font-size: clamp(30px, 8vw, 44px);
    }

    .auth-pro-showcase p {
        font-size: 15px;
    }

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

    .auth-pro-card {
        padding: 20px;
        border-radius: 18px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}
