:root { --espresso: #3e2723; --brass: #b8860b; --linen: #faf0e6; }
                            * { margin: 0; padding: 0; box-sizing: border-box; }
                            body {
                                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
                                background: linear-gradient(135deg, var(--linen) 0%, #f5f5f5 100%);
                                color: var(--espresso);
                                min-height: 100vh;
                                display: flex;
                                flex-direction: column;
                            }
        /* MAIN CONTENT â”€â”€â”€ */
                            .main-content {
                                flex: 1;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                padding: 40px 20px;
                            }

                            .success-container { width: 100%; max-width: 550px; }
                            .success-card {
                                background: white;
                                border-radius: 14px;
                                padding: 50px 42px;
                                box-shadow: 0 4px 20px rgba(0,0,0,0.08);
                                border: 1px solid #f0f0f0;
                                text-align: center;
                            }

                            .success-icon {
                                font-size: 64px;
                                margin-bottom: 24px;
                                display: inline-block;
                                background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
                                width: 100px;
                                height: 100px;
                                border-radius: 50%;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                margin-left: auto;
                                margin-right: auto;
                            }

                            .success-card h1 {
                                color: var(--espresso);
                                margin-bottom: 12px;
                                font-size: 28px;
                                font-weight: 700;
                            }

                            .success-card .subtitle {
                                color: #666;
                                font-size: 15px;
                                line-height: 1.6;
                                margin-bottom: 28px;
                            }

                            .verification-box {
                                background: linear-gradient(135deg, var(--linen) 0%, #f5f5f5 100%);
                                border: 1px solid rgba(184, 134, 11, 0.2);
                                border-radius: 10px;
                                padding: 24px;
                                margin: 28px 0;
                                text-align: left;
                            }

                            .verification-box h3 {
                                font-size: 13px;
                                font-weight: 600;
                                color: var(--espresso);
                                margin-bottom: 12px;
                                display: flex;
                                align-items: center;
                                gap: 8px;
                            }

                            .verification-box h3 svg {
                                width: 18px;
                                height: 18px;
                                stroke: var(--brass);
                                fill: none;
                                stroke-width: 2;
                            }

                            .link-wrapper {
                                display: flex;
                                gap: 8px;
                                align-items: stretch;
                            }

                            .verification-link {
                                flex: 1;
                                background: white;
                                padding: 12px 14px;
                                border: 1px solid #ddd;
                                border-radius: 7px;
                                font-family: 'Courier New', monospace;
                                font-size: 12px;
                                color: var(--espresso);
                                word-break: break-all;
                                overflow-wrap: break-word;
                                display: flex;
                                align-items: center;
                                user-select: all;
                            }

                            .copy-btn {
                                background: var(--brass);
                                color: white;
                                border: none;
                                padding: 12px 16px;
                                border-radius: 7px;
                                cursor: pointer;
                                font-weight: 600;
                                font-size: 13px;
                                transition: all 0.3s ease;
                                white-space: nowrap;
                                display: flex;
                                align-items: center;
                                gap: 6px;
                            }

                            .copy-btn:hover {
                                background: #9a6b0a;
                                transform: translateY(-2px);
                                box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
                            }

                            .copy-btn:active {
                                transform: translateY(0);
                            }

                            .copy-btn svg {
                                width: 16px;
                                height: 16px;
                                stroke: currentColor;
                                fill: none;
                                stroke-width: 2;
                            }

                            .copy-feedback {
                                font-size: 12px;
                                color: #388e3c;
                                margin-top: 8px;
                                opacity: 0;
                                transition: opacity 0.3s ease;
                                font-weight: 600;
                            }

                            .copy-feedback.show {
                                opacity: 1;
                            }

                            .verify-button {
                                display: inline-block;
                                width: 100%;
                                padding: 14px 20px;
                                background: linear-gradient(135deg, var(--brass) 0%, #9a6b0a 100%);
                                color: white;
                                border: none;
                                border-radius: 8px;
                                font-size: 15px;
                                font-weight: 700;
                                cursor: pointer;
                                text-decoration: none;
                                transition: all 0.3s ease;
                                box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
                                margin-top: 24px;
                                text-align: center;
                            }

                            .verify-button:hover {
                                transform: translateY(-2px);
                                box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
                            }

                            .info-text {
                                color: #999;
                                font-size: 12px;
                                margin-top: 16px;
                                line-height: 1.6;
                            }

                            .footer-link {
                                margin-top: 32px;
                                padding-top: 28px;
                                border-top: 1px solid #f0f0f0;
                            }

                            .footer-link a {
                                color: var(--brass);
                                text-decoration: none;
                                font-weight: 600;
                                transition: color 0.3s ease;
                            }

                            .footer-link a:hover {
                                color: #9a6b0a;
                                text-decoration: underline;
                            }

                            @media (max-width: 768px) {
                                .success-card { padding: 40px 28px; }
                                .success-card h1 { font-size: 24px; }
                                .link-wrapper { flex-direction: column; }
                                .copy-btn { width: 100%; justify-content: center; }
                            }

                            @media (max-width: 480px) {
                                .main-content { padding: 20px 16px; }
                                .success-card { padding: 32px 20px; }
                                .success-icon { width: 80px; height: 80px; font-size: 48px; }
                                .success-card h1 { font-size: 22px; margin-bottom: 8px; }
                                .verification-box { padding: 18px; }
                                .verification-link { font-size: 11px; }
                            }

:root {
            --espresso: #3e2723;
            --brass: #b8860b;
            --linen: #faf0e6;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background: linear-gradient(135deg, var(--linen) 0%, #f5f5f5 100%);
            color: var(--espresso);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        /* MAIN CONTENT â”€â”€â”€ */
        .main-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .page-wrapper {
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 40px 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        /* â”€â”€â”€ HERO SECTION â”€â”€â”€ */
        .register-hero {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .logo-section img {
            height: 50px;
            width: auto;
            object-fit: contain;
            flex-shrink: 0;
        }

        .shop-branding h2 {
            font-size: 22px;
            font-weight: 700;
            color: var(--espresso);
            margin: 0;
            line-height: 1.2;
        }

        .shop-branding p {
            font-size: 13px;
            color: #888;
            margin: 2px 0 0 0;
            font-weight: 400;
        }

        .hero-content h3 {
            font-size: 28px;
            font-weight: 700;
            color: var(--espresso);
            margin: 0 0 12px 0;
            line-height: 1.3;
        }

        .hero-content p {
            font-size: 15px;
            color: #666;
            line-height: 1.6;
            margin: 0 0 20px 0;
        }

        .hero-features {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .hero-features li {
            font-size: 14px;
            color: #666;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 0;
            border: none;
            line-height: 1.5;
        }

        .hero-features li::before {
            content: 'âœ“';
            color: var(--brass);
            font-weight: 700;
            font-size: 18px;
            flex-shrink: 0;
            margin-top: -2px;
        }

        /* â”€â”€â”€ FORM SECTION â”€â”€â”€ */
        .register-container {
            width: 100%;
            padding: 0;
        }

        .register-card {
            background: white;
            border-radius: 14px;
            padding: 42px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            border: 1px solid #f0f0f0;
        }

        .register-header {
            text-align: center;
            margin-bottom: 32px;
        }

        .register-header h1 {
            color: var(--espresso);
            font-size: 26px;
            margin: 0 0 8px 0;
            font-weight: 700;
        }

        .register-header p {
            color: #888;
            font-size: 14px;
            margin: 0;
        }

        .alert {
            padding: 12px 14px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 13px;
            border-left: 4px solid #721c24;
            background: #fef5f5;
            color: #721c24;
        }
        .alert ul { margin: 6px 0 0 20px; }
        .alert li { margin: 4px 0; line-height: 1.4; }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: var(--espresso);
            font-size: 13px;
        }

        .form-group input {
            width: 100%;
            padding: 11px 14px;
            border: 1px solid #ddd;
            border-radius: 7px;
            font-size: 14px;
            transition: all 0.25s ease;
            background: white;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--brass);
            box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.06);
        }

        .form-group small {
            display: block;
            color: #999;
            font-size: 12px;
            margin-top: 4px;
        }

        .form-group.checkbox {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin: 24px 0;
        }

        .form-group.checkbox input[type="checkbox"] {
            width: 16px;
            height: 16px;
            margin-top: 2px;
            accent-color: var(--brass);
            cursor: pointer;
            flex-shrink: 0;
        }

        .form-group.checkbox label {
            font-weight: 400;
            font-size: 13px;
            color: #666;
            cursor: pointer;
            line-height: 1.5;
            margin: 0;
        }

        .form-group.checkbox a {
            color: var(--brass);
            text-decoration: none;
            font-weight: 600;
        }

        .form-group.checkbox a:hover {
            text-decoration: underline;
        }

        .register-footer {
            text-align: center;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f0;
        }

        .register-footer p {
            font-size: 13px;
            color: #888;
            margin: 0;
        }

        .register-footer a {
            color: var(--brass);
            text-decoration: none;
            font-weight: 600;
        }

        .register-footer a:hover {
            text-decoration: underline;
        }

        /* â”€â”€â”€ SECURITY FEATURES â”€â”€â”€ */
        .security-features {
            margin-top: 28px;
            padding-top: 24px;
            border-top: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .security-feature {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .security-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
            border-radius: 8px;
            flex-shrink: 0;
        }

        .security-icon svg {
            width: 22px;
            height: 22px;
            stroke: var(--brass);
            fill: none;
            stroke-width: 2;
        }

        .security-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .security-text strong {
            font-size: 13px;
            font-weight: 600;
            color: var(--espresso);
            display: block;
        }

        .security-text small {
            font-size: 12px;
            color: #999;
            display: block;
        }

        @media (max-width: 1024px) {
            .page-wrapper {
                gap: 50px;
                grid-template-columns: 1fr 1fr;
            }

            .hero-content h3 {
                font-size: 26px;
            }

            .register-card {
                padding: 36px;
            }
        }

        @media (max-width: 768px) {.page-wrapper {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 30px 20px;
            }

            .register-hero {
                gap: 24px;
            }

            .logo-section img {
                height: 45px;
            }

            .shop-branding h2 {
                font-size: 20px;
            }

            .hero-content h3 {
                font-size: 24px;
            }

            .register-card {
                padding: 32px;
            }

            .register-header h1 {
                font-size: 24px;
            }
        }

        @media (max-width: 480px) {
            .page-wrapper {
                gap: 30px;
                padding: 20px 16px;
            }

            .register-hero {
                gap: 20px;
            }

            .logo-section {
                gap: 10px;
            }

            .logo-section img {
                height: 40px;
            }

            .shop-branding h2 {
                font-size: 18px;
            }

            .hero-content h3 {
                font-size: 20px;
            }

            .register-card {
                padding: 24px;
            }

            .register-header h1 {
                font-size: 22px;
                margin-bottom: 6px;
            }

            .form-group {
                margin-bottom: 16px;
            }

            .form-group label {
                font-size: 13px;
            }

            .register-footer {
                margin-top: 20px;
                padding-top: 16px;
            }
        }
        /* Button styling dari member-auth.css */

.input-error {
        border-color: #d32f2f !important;
        background: #ffebee !important;
    }

.input-error-msg {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 6px;
    display: none;
    line-height: 1.4;
}

.input-error-msg.is-visible {
    display: block;
}

.form-help {
    color: #999;
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.info-text--spaced {
    margin-top: 24px;
}

.password-group {
    margin-bottom: 18px;
}

    .password-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        color: var(--espresso);
        font-size: 13px;
    }

    .password-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 6px;
    }

    .password-wrapper input {
        width: 100%;
        padding: 11px 42px 11px 14px;
        border: 1px solid #ddd;
        border-radius: 7px;
        font-size: 14px;
        transition: all 0.25s ease;
        background: white;
    }

    .password-wrapper input:focus {
        outline: none;
        border-color: var(--brass);
        box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.06);
    }

    .password-toggle {
        position: absolute;
        right: 10px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        transition: color 0.3s ease;
        width: 32px;
        height: 32px;
        border-radius: 4px;
    }

    .password-toggle:hover {
        color: var(--brass);
        background: rgba(184, 134, 11, 0.05);
    }

    .password-toggle svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5;
    }

    .password-toggle.visible svg {
        stroke: var(--brass);
    }

.password-feedback {
    color: #666;
    font-size: 12px;
    margin-top: 8px;
}

    .password-feedback div:first-child {
        margin-bottom: 6px;
    }

.password-feedback .password-strength {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.password-feedback .password-strength-bar {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.password-feedback .password-strength[data-strength="1"] .password-strength-bar:nth-child(-n+1),
.password-feedback .password-strength[data-strength="2"] .password-strength-bar:nth-child(-n+2),
.password-feedback .password-strength[data-strength="3"] .password-strength-bar:nth-child(-n+3),
.password-feedback .password-strength[data-strength="4"] .password-strength-bar:nth-child(-n+4),
.password-feedback .password-strength[data-strength="5"] .password-strength-bar:nth-child(-n+5) {
    background: var(--password-strength-color, #388e3c);
}

.password-feedback .password-strength[data-strength="0"] .password-strength-bar {
    background: #e0e0e0;
}

.password-feedback .password-strength[data-strength="1"] {
    --password-strength-color: #d32f2f;
}

.password-feedback .password-strength[data-strength="2"] {
    --password-strength-color: #f57c00;
}

.password-feedback .password-strength[data-strength="3"] {
    --password-strength-color: #fbc02d;
}

.password-feedback .password-strength[data-strength="4"] {
    --password-strength-color: #7cb342;
}

.password-feedback .password-strength[data-strength="5"] {
    --password-strength-color: #388e3c;
}

.password-feedback .password-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.password-feedback[data-strength="1"] .password-label {
    color: #d32f2f;
}

.password-feedback[data-strength="2"] .password-label {
    color: #f57c00;
}

.password-feedback[data-strength="3"] .password-label {
    color: #fbc02d;
}

.password-feedback[data-strength="4"] .password-label {
    color: #7cb342;
}

.password-feedback[data-strength="5"] .password-label {
    color: #388e3c;
}

.password-feedback .password-hint {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

.password-hint-text {
    color: #999;
        font-size: 12px;
        margin-top: 4px;
    display: block;
    line-height: 1.4;
}

.auth-empty-state {
    text-align: center;
}

.auth-empty-state p {
    color: #666;
    margin: 20px 0;
}

.btn.btn-inline {
    display: inline-block;
    width: auto;
    padding: 10px 20px;
    text-decoration: none;
}

.public-auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--linen) 0%, #f5f5f5 100%);
    color: var(--espresso);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--linen) 0%, #f5f5f5 100%);
    color: var(--espresso);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.main-content,
.public-auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-wrapper,
.public-auth-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.login-hero,
.forgot-hero,
.public-auth-hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-content h3,
.public-auth-hero h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--espresso);
    margin: 0 0 12px;
    line-height: 1.3;
}

.hero-content p,
.public-auth-hero p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}

.hero-features,
.public-auth-hero ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-features li,
.public-auth-hero li {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.login-container,
.reset-container,
.public-auth-panel {
    width: 100%;
    padding: 0;
}

.login-card,
.reset-card,
.public-auth-card {
    background: #fff;
    border-radius: 14px;
    padding: 42px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.login-header,
.reset-header,
.public-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1,
.reset-header h1,
.public-auth-header h1 {
    color: var(--espresso);
    font-size: 26px;
    margin: 0 0 8px;
    font-weight: 700;
}

.login-header p,
.reset-header p,
.public-auth-header p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.login-footer,
.reset-footer,
.public-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.login-footer p,
.reset-footer p,
.public-auth-footer p {
    font-size: 13px;
    color: #888;
    margin: 10px 0;
}

.login-footer a,
.reset-footer a,
.public-auth-footer a {
    color: var(--brass);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover,
.reset-footer a:hover,
.public-auth-footer a:hover {
    text-decoration: underline;
}

.success-box,
.public-auth-success-box {
    text-align: center;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.success-icon,
.public-auth-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(184, 134, 11, 0.12);
    color: var(--brass);
    font-size: 2rem;
}

.divider,
.public-auth-divider {
    text-align: center;
    margin: 16px 0;
    color: #bbb;
    font-size: 13px;
    font-weight: 400;
}

.forgot-password-link,
.public-auth-link-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    background: rgba(184, 134, 11, 0.08);
    color: #8f6305 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.forgot-password-link:hover,
.public-auth-link-card:hover {
    background: rgba(184, 134, 11, 0.14);
    border-color: rgba(184, 134, 11, 0.52);
    color: #7b5304 !important;
    transform: translateY(-1px);
}

.forgot-password-help,
.public-auth-note {
    margin-top: 8px !important;
    color: #9a9a9a !important;
    font-size: 12px !important;
    line-height: 1.5;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #721c24;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--espresso);
    font-size: 13px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    transition: all 0.25s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.06);
}

.btn-register,
.btn-login {
    width: 100%;
    min-height: 46px;
    border: 1px solid #2f1f1b;
    border-radius: 10px;
    background: linear-gradient(135deg, #3e2723 0%, #5b3b33 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 10px 24px rgba(62, 39, 35, 0.24);
}

.btn-register:hover,
.btn-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 14px 30px rgba(62, 39, 35, 0.3);
}

.btn-register:focus-visible,
.btn-login:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.2), 0 10px 24px rgba(62, 39, 35, 0.24);
}

.btn-register:active,
.btn-login:active {
    transform: translateY(0);
}

.btn-register:disabled,
.btn-login:disabled {
    opacity: .72;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-wrapper,
.login-card,
.reset-card,
.public-auth-card {
    container-type: inline-size;
}

@media (max-width: 1024px) {
    .page-wrapper,
    .public-auth-page {
        gap: 50px;
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h3,
    .public-auth-hero h3 {
        font-size: 26px;
    }

    .login-card,
    .reset-card,
    .public-auth-card {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .page-wrapper,
    .public-auth-page {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }

    .login-hero,
    .forgot-hero,
    .public-auth-hero {
        gap: 24px;
    }

    .hero-content h3,
    .public-auth-hero h3 {
        font-size: 24px;
    }

    .login-card,
    .reset-card,
    .public-auth-card {
        padding: 32px;
    }

    .login-header h1,
    .reset-header h1,
    .public-auth-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-wrapper,
    .public-auth-page {
        gap: 30px;
        padding: 20px 16px;
    }

    .login-hero,
    .forgot-hero,
    .public-auth-hero {
        gap: 20px;
    }

    .hero-content h3,
    .public-auth-hero h3 {
        font-size: 20px;
    }

    .login-card,
    .reset-card,
    .public-auth-card {
        padding: 24px;
    }

    .login-header h1,
    .reset-header h1,
    .public-auth-header h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .login-footer,
    .reset-footer,
    .public-auth-footer {
        margin-top: 20px;
        padding-top: 16px;
    }
}

.public-auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-auth-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.public-auth-hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.public-auth-hero h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--espresso);
    margin: 0 0 12px;
    line-height: 1.3;
}

.public-auth-hero p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}

.public-auth-hero ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.public-auth-hero li {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.public-auth-panel {
    width: 100%;
    padding: 0;
}

.public-auth-card {
    background: #fff;
    border-radius: 14px;
    padding: 42px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.public-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.public-auth-header h1 {
    color: var(--espresso);
    font-size: 26px;
    margin: 0 0 8px;
    font-weight: 700;
}

.public-auth-header p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.public-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.public-auth-footer p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.public-auth-footer a {
    color: var(--brass);
    text-decoration: none;
    font-weight: 600;
}

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

.public-auth-divider {
    margin: 18px 0;
    text-align: center;
    color: #999;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-auth-link-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 .95rem;
    border-radius: 10px;
    border: 1px solid rgba(184, 134, 11, 0.24);
    background: rgba(184, 134, 11, 0.08);
    color: var(--espresso);
    text-decoration: none;
    font-weight: 600;
    transition: all .2s ease;
}

.public-auth-link-card:hover {
    background: rgba(184, 134, 11, 0.14);
    border-color: rgba(184, 134, 11, 0.52);
}

.public-auth-note {
    margin-top: 8px;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 1.5;
}

.public-auth-success-box {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.public-auth-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(184, 134, 11, 0.12);
    color: var(--brass);
    font-size: 2rem;
}

.public-auth-success-box .public-auth-header {
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .public-auth-page {
        gap: 50px;
        grid-template-columns: 1fr 1fr;
    }

    .public-auth-card {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .public-auth-page {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }

    .public-auth-hero {
        gap: 24px;
    }

    .public-auth-card {
        padding: 32px;
    }

    .public-auth-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .public-auth-page {
        gap: 30px;
        padding: 20px 16px;
    }

    .public-auth-hero {
        gap: 20px;
    }

    .public-auth-card {
        padding: 24px;
    }

    .public-auth-header h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .public-auth-footer {
        margin-top: 20px;
        padding-top: 16px;
    }
}

:root {
            --espresso: #3e2723;
            --brass: #b8860b;
            --linen: #faf0e6;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: linear-gradient(135deg, var(--linen) 0%, #f5f5f5 100%); color: var(--espresso); min-height: 100vh; display: flex; align-items: center; justify-content: center; }

        .container { width: 100%; max-width: 450px; padding: 20px; }

        .card { background: white; border-radius: 8px; padding: 40px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

        .header { text-align: center; margin-bottom: 30px; }
        .header h1 { color: var(--espresso); font-size: 24px; margin-bottom: 8px; }
        .header p { color: #666; font-size: 14px; }

        .alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
        .alert-danger { background: #f8d7da; color: #721c24; border-left: 4px solid #721c24; }
        .alert-danger a { color: #721c24; text-decoration: underline; }

        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--espresso); font-size: 14px; }
        .form-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
        .form-group input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1); }
        .password-wrap { position: relative; }
        .password-wrap input { padding-right: 42px; }
        .password-toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            border: 0;
            background: transparent;
            color: #888;
            cursor: pointer;
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
        }
        .password-toggle:hover { color: var(--espresso); background: rgba(0, 0, 0, 0.04); }
        .password-toggle:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.14);
        }
        .password-toggle svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .password-toggle .icon-eye-off { display: none; }
        .password-toggle.is-visible .icon-eye { display: none; }
        .password-toggle.is-visible .icon-eye-off { display: block; }

        .btn { width: 100%; padding: 13px; background: var(--brass); color: white; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
        .btn:hover { background: #9a6b0a; }
        .btn:disabled { background: #ccc; cursor: not-allowed; }

        .footer { text-align: center; margin-top: 25px; padding-top: 25px; border-top: 1px solid #eee; }
        .footer a { color: var(--brass); text-decoration: none; font-weight: 600; }
        .footer a:hover { text-decoration: underline; }

        @media (max-width: 480px) {
            .card { padding: 30px 20px; }
            .header h1 { font-size: 20px; }
        }

/* Register page refresh */
body.public-auth-shell--register {
    background: linear-gradient(135deg, var(--linen) 0%, #f5f1ea 48%, #fbfbfb 100%);
}

body.public-auth-shell--register .main-content {
    align-items: flex-start;
    padding: 20px clamp(20px, 3vw, 48px) 64px;
}

body.public-auth-shell--register .page-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 28px clamp(24px, 4vw, 72px) 0;
    grid-template-columns: minmax(0, 1.7fr) minmax(640px, 760px);
    gap: clamp(64px, 6.5vw, 140px);
    align-items: start;
}

body.public-auth-shell--register .register-hero {
    padding-top: 20px;
    max-width: none;
    min-width: 0;
}

body.public-auth-shell--register .register-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    min-width: 0;
}

body.public-auth-shell--register .register-card {
    width: 100%;
    max-width: 760px;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(4px);
}

body.public-auth-shell--register .hero-content {
    max-width: none;
}

body.public-auth-shell--register .hero-content h3 {
    font-size: clamp(40px, 3.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

body.public-auth-shell--register .hero-content p {
    font-size: 17px;
    max-width: 52ch;
}

body.public-auth-shell--register .hero-features {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
}

body.public-auth-shell--register .hero-features li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--brass);
    flex-shrink: 0;
}

body.public-auth-shell--register .hero-features li {
    min-width: 0;
}

body.public-auth-shell--register .register-header h1 {
    font-size: 30px;
}

body.public-auth-shell--register .register-header p {
    font-size: 16px;
}

body.public-auth-shell--register .register-card .form-group input,
body.public-auth-shell--register .register-card .password-wrapper input {
    min-height: 46px;
}

body.public-auth-shell--register .register-card .form-group small,
body.public-auth-shell--register .register-card .password-hint-text {
    line-height: 1.5;
}

@media (max-width: 1024px) {
    body.public-auth-shell--register .page-wrapper {
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
        gap: 44px;
        padding: 22px 0 0;
    }

    body.public-auth-shell--register .hero-content h3 {
        max-width: none;
    }

    body.public-auth-shell--register .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.public-auth-shell--register .main-content {
        padding: 22px 16px 44px;
    }

    body.public-auth-shell--register .page-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 0 0;
    }

    body.public-auth-shell--register .register-hero {
        padding-top: 0;
        max-width: none;
    }

    body.public-auth-shell--register .register-card {
        max-width: none;
        margin-left: 0;
    }

    body.public-auth-shell--register .hero-content,
    body.public-auth-shell--register .hero-features {
        max-width: none;
    }
}

@media (max-width: 480px) {
    body.public-auth-shell--register .main-content {
        padding: 18px 14px 36px;
    }

    body.public-auth-shell--register .page-wrapper {
        gap: 28px;
    }

    body.public-auth-shell--register .register-card {
        padding: 28px 20px;
    }

    body.public-auth-shell--register .register-header h1 {
        font-size: 24px;
    }

    body.public-auth-shell--register .hero-content h3 {
        font-size: 28px;
    }
}
