/* ================================================
   AllWayShalom - Auth Pages Styles
   ================================================ */

.auth-page {
    min-height: 100vh;
    background: var(--bg-cream);
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

/* ==================== FORM SIDE ==================== */
.auth-form-side {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 60px;
    background: var(--bg-white);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-form-wrapper-wide {
    max-width: 640px;
    padding: 20px 0;
}

.auth-logo {
    display: block;
    margin-bottom: 48px;
}

.auth-logo img {
    height: 48px;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-title {
    font-size: 1.875rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Form Styles */
.auth-form {
    margin-bottom: 32px;
}

.auth-form .form-group {
    margin-bottom: 24px;
}

.auth-form .form-label {
    margin-bottom: 10px;
    font-size: 0.9375rem;
}

.auth-form .form-input,
.auth-form .form-select,
.auth-form .form-textarea {
    padding: 14px 16px;
    font-size: 1rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.password-input {
    position: relative;
}

.password-input .form-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    padding: 4px;
}

.password-toggle:hover {
    color: var(--brand-dark);
}

.password-toggle .hidden {
    display: none;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--accent-green);
    font-weight: 500;
}

/* Account Type Selector */
.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.account-type-option {
    cursor: pointer;
}

.account-type-option input {
    position: absolute;
    opacity: 0;
}

.account-type-option .option-card {
    padding: 28px 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.account-type-option:hover .option-card {
    border-color: var(--brand-light);
}

.account-type-option input:checked + .option-card {
    border-color: var(--accent-green);
    background: var(--accent-green-light);
}

.account-type-option .option-card svg {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.account-type-option input:checked + .option-card svg {
    color: var(--accent-green);
}

.option-title {
    display: block;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Social Auth */
.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition);
}

.btn-social:hover {
    border-color: var(--brand-dark);
    background: var(--bg-lightbeige);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-green);
    font-weight: 600;
}

/* ==================== IMAGE SIDE ==================== */
.auth-image-side {
    flex: 0.8;
    background: linear-gradient(135deg, var(--brand-dark) 0%, #4A2C2A 50%, var(--brand-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-image-side::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(122, 155, 79, 0.15) 0%, transparent 60%);
}

.auth-image-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    color: var(--text-white);
}

/* Quote Style (Login Page) */
.auth-quote blockquote {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.auth-quote cite {
    display: flex;
    align-items: center;
    gap: 16px;
    font-style: normal;
}

.auth-quote cite img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.auth-quote cite strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.auth-quote cite span {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Features Style (Register Page) */
.auth-features h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--text-white);
}

.auth-features ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.125rem;
}

.auth-features li svg {
    flex-shrink: 0;
    color: var(--accent-green);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .auth-image-side {
        display: none;
    }

    .auth-form-side {
        padding: 24px;
    }
}

/* ==================== MULTI-STEP SELLER FORM ==================== */

/* Step Progress */
.step-progress {
    margin-bottom: 40px;
}

.step-progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-beige);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.step-indicator.active {
    background: var(--accent-green);
    color: white;
}

.step-indicator.completed {
    background: var(--accent-green);
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    margin-bottom: 32px;
}

.step-header .step-number {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.step-header .step-title {
    font-size: 1.625rem;
    margin-bottom: 12px;
    color: var(--brand-dark);
    line-height: 1.3;
}

.step-header .step-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    flex: 1;
    transition: all var(--transition);
}

.form-radio:hover {
    border-color: var(--brand-light);
}

.form-radio input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition);
}

.form-radio input:checked + .radio-custom {
    border-color: var(--accent-green);
}

.form-radio input:checked + .radio-custom::after {
    opacity: 1;
    transform: scale(1);
}

.form-radio input:checked ~ .radio-label {
    color: var(--brand-dark);
    font-weight: 500;
}

.radio-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Checkbox Card */
.form-checkbox-card {
    display: flex;
    padding: 0;
    cursor: pointer;
}

.form-checkbox-card input {
    display: none;
}

.form-checkbox-card .checkbox-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    width: 100%;
    transition: all var(--transition);
}

.form-checkbox-card:hover .checkbox-content {
    border-color: var(--brand-light);
}

.form-checkbox-card input:checked + .checkbox-content {
    border-color: var(--accent-green);
    background: var(--accent-green-light);
}

.checkbox-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.checkbox-icon svg {
    opacity: 0;
    color: white;
    transform: scale(0);
    transition: all var(--transition);
}

.form-checkbox-card input:checked + .checkbox-content .checkbox-icon {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.form-checkbox-card input:checked + .checkbox-content .checkbox-icon svg {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox-card input:checked + .checkbox-content .checkbox-text {
    color: var(--brand-dark);
}

.form-checkbox-card.error .checkbox-content {
    border-color: var(--error);
    background: #FFEBEE;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Info Box Variants */
.info-box-warning {
    background: #FFF8E1;
    border-left-color: var(--warning);
}

.info-box-warning .info-box-icon {
    color: var(--warning);
}

.info-box-large {
    padding: 24px;
}

.info-box-large .info-box-icon svg {
    width: 32px;
    height: 32px;
}

/* Payout Card */
.payout-card {
    text-align: center;
    padding: 32px;
    background: var(--bg-lightbeige);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.payout-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
}

.payout-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.payout-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.payout-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* Final Statement */
.final-statement {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-beige);
    border-radius: var(--radius);
    margin-top: 32px;
}

.final-statement svg {
    flex-shrink: 0;
    color: var(--text-muted);
    margin-top: 2px;
}

.final-statement p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.step-navigation .btn {
    flex: 1;
}

#prevStep {
    flex: 0 0 auto;
}

/* ==================== NEW REGISTRATION FORM ELEMENTS ==================== */

/* Form Section Title */
.form-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 32px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.form-section-title:first-of-type {
    margin-top: 8px;
}

/* Required Asterisk */
.required {
    color: var(--error);
    font-weight: 500;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--accent-green-light);
    border-radius: var(--radius);
    margin: 32px 0;
    border-left: 4px solid var(--accent-green);
}

.info-box-icon {
    flex-shrink: 0;
    color: var(--accent-green);
}

.info-box-content {
    flex: 1;
}

.info-box-content strong {
    display: block;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.info-box-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 544px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .account-type-selector {
        grid-template-columns: 1fr;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .info-box {
        flex-direction: column;
        gap: 12px;
    }

    .radio-group {
        flex-direction: column;
    }

    .step-indicators {
        gap: 8px;
    }

    .step-indicator {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .payout-card {
        padding: 24px 16px;
    }
}
