/* ==========================================================================
   FluxLabs.Co — Post-Purchase Onboarding & Appointment Booking Styles
   ========================================================================== */

/* Page Background & Wrapper */
.onboarding-page {
    min-height: 100vh;
    background-color: var(--bg-base);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
}

.onboarding-main {
    flex: 1;
    padding: 40px 0 80px 0;
    position: relative;
}

/* Background Glowing Orbs */
.onboarding-glow-1 {
    position: absolute;
    top: 50px;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.onboarding-glow-2 {
    position: absolute;
    bottom: 100px;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

/* Onboarding Header */
.onboarding-header {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.onboarding-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.onboarding-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.onboarding-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
}

.order-badge-pill .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.onboarding-hero {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.onboarding-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.onboarding-hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Stepper Bar */
.stepper-container {
    max-width: 860px;
    margin: 0 auto 36px auto;
    position: relative;
    z-index: 1;
}

.stepper-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 12px;
}

.stepper-progress-track {
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border-subtle);
    z-index: 0;
    border-radius: 4px;
}

.stepper-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
    background: transparent;
    border: none;
    padding: 0;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.step-node.active .step-circle {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: scale(1.08);
}

.step-node.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.step-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.step-node.active .step-label {
    color: var(--text-primary);
}

.step-node.completed .step-label {
    color: #10b981;
}

/* Main Form Card */
.onboarding-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

/* Step Views */
.step-pane {
    display: none;
    animation: fadeIn 0.35s ease;
}

.step-pane.active {
    display: block;
}

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

.step-pane-header {
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 18px;
}

.step-pane-title {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.step-pane-title .material-icons-round {
    color: var(--primary);
}

.step-pane-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 6px;
}

/* Form Groups & Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label .required-dot {
    color: var(--danger);
    margin-left: 4px;
}

.form-label .helper-text {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 400;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    font-size: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.94rem;
    transition: all var(--transition-fast);
}

.input-with-icon .form-control {
    padding-left: 44px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--bg-surface);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

/* Country Selector Special Styling */
.country-select-wrapper {
    position: relative;
}

.country-priority-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-left: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Unserved Country Alert */
.unserved-alert {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-top: 14px;
    animation: shake 0.35s ease;
}

.unserved-alert.active {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.unserved-alert-icon {
    color: var(--danger);
    font-size: 26px;
    flex-shrink: 0;
}

.unserved-alert-content h4 {
    color: var(--danger);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.unserved-alert-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.45;
}

.supported-list-badge {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.supported-list-badge span {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.74rem;
    color: var(--text-primary);
}

/* Priority Served Banner */
.served-badge-banner {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-top: 12px;
    color: #10b981;
    font-size: 0.86rem;
    font-weight: 600;
}

.served-badge-banner.active {
    display: flex;
}

/* Team Size Radio Grid */
.radio-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card-body {
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    text-align: center;
    transition: all var(--transition-fast);
}

.radio-card-body .rc-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.radio-card-body .rc-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.radio-card input:checked + .radio-card-body {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 2px var(--primary);
}

.radio-card:hover .radio-card-body {
    border-color: var(--border-hover);
}

/* Multi-select Pills for "What brings you to us" */
.pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.choice-pill {
    cursor: pointer;
    user-select: none;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-pill-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.choice-pill:hover .choice-pill-label {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.choice-pill input:checked + .choice-pill-label {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
    color: #60a5fa;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

/* -------------------------------------------------------------------------
   Step 3: Appointment Booking Styles
   ------------------------------------------------------------------------- */
.timezone-info-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.tz-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tz-flag-badge {
    font-size: 22px;
}

.tz-details h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tz-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tz-switcher-select {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

/* Date Selector Carousel */
.booking-calendar-wrapper {
    margin-bottom: 26px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.calendar-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.calendar-days-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.day-card {
    min-width: 82px;
    flex: 0 0 auto;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.day-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.day-card.selected {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.day-card .day-name {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-muted);
}

.day-card.selected .day-name {
    color: rgba(255, 255, 255, 0.85);
}

.day-card .day-number {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 4px 0 2px 0;
}

.day-card .day-month {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.day-card.selected .day-month {
    color: rgba(255, 255, 255, 0.85);
}

/* Time Slot Windows (3-5 PM IST & 8-10 PM IST) */
.time-windows-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.time-window-block {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

.window-title .material-icons-round {
    color: #f59e0b;
    font-size: 20px;
}

.window-ist-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.slot-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slot-btn:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.slot-btn.selected {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 0 2px var(--primary);
}

.slot-local-time {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slot-local-time .slot-check {
    opacity: 0;
    color: var(--primary);
    font-size: 18px;
    transition: opacity var(--transition-fast);
}

.slot-btn.selected .slot-check {
    opacity: 1;
}

.slot-ist-time {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   Step 4: Confirmation & Remote Team Handshake Card
   ------------------------------------------------------------------------- */
.remote-notice-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}

.remote-notice-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.notice-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.notice-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.notice-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.notice-highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #f8fafc;
    margin-bottom: 16px;
}

.remote-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.remote-tool-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-logo-badge {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
}

.tool-ultra {
    background: #0284c7;
    color: #ffffff;
}

.tool-anydesk {
    background: #ef4444;
    color: #ffffff;
}

.tool-meta h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tool-meta p {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.btn-tool-download {
    padding: 6px 12px;
    font-size: 0.76rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition-fast);
}

.btn-tool-download:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

/* Optional Remote ID Pre-submission */
.optional-remote-input-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 24px;
}

.optional-remote-header {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.optional-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Booking Summary Card */
.booking-summary-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 26px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 600;
}

.summary-value {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-value.highlight {
    color: var(--primary);
}

/* Footer Action Bar */
.card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Success Celebration View */
.success-card {
    text-align: center;
    padding: 30px 20px;
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 18px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-card p {
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 24px auto;
    font-size: 0.95rem;
}

.booking-ref-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-elevated);
    border: 1px dashed var(--border-subtle);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #60a5fa;
    margin-bottom: 24px;
}

.success-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .onboarding-card {
        padding: 24px 18px;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .radio-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slots-grid {
        grid-template-columns: 1fr;
    }

    .remote-tools-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .stepper-nav {
        padding: 0;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .step-label {
        font-size: 0.72rem;
    }

    .stepper-progress-track {
        top: 18px;
        left: 20px;
        right: 20px;
    }

    .card-footer-actions {
        flex-direction: column-reverse;
        gap: 14px;
    }

    .footer-left, .footer-right {
        width: 100%;
    }

    .footer-right .btn, .footer-left .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Firebase Authentication & Mandatory Profile Elements
   ========================================================================== */
.auth-mode-toggle {
    display: flex;
    background: var(--bg-surface-elevated, #1e293b);
    border-radius: var(--radius-md, 8px);
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
}

.auth-tab-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn.active {
    background: var(--primary, #3b82f6);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.google-auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md, 8px);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.google-auth-btn:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted, #64748b);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
}

.auth-divider::before {
    margin-right: 12px;
}

.auth-divider::after {
    margin-left: 12px;
}

.auth-feedback-box {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    line-height: 1.4;
    align-items: center;
    gap: 10px;
}

.auth-feedback-box.error {
    display: flex;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.auth-feedback-box.success {
    display: flex;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.mandatory-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 6px;
}

.currency-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.currency-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    background: var(--bg-surface-elevated, #1e293b);
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-card:hover {
    border-color: var(--primary, #3b82f6);
}

.currency-card.active {
    border-color: var(--primary, #3b82f6);
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.currency-symbol {
    font-size: 1.1rem;
    font-weight: 800;
    color: #38bdf8;
    width: 24px;
    text-align: center;
}

.currency-info {
    display: flex;
    flex-direction: column;
}

.currency-code {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
}

.currency-name {
    font-size: 0.7rem;
    color: var(--text-muted, #94a3b8);
}

