/* Onboarding Wizard Styles - Figma Design with Xcelerate Color Scheme */

:root {
    /* Brand Colors - Using Xcelerate Teal/Cyan */
    --primary-50: #ebfffe;
    --primary-100: #cdfeff;
    --primary-200: #a1faff;
    --primary-300: #60f4ff;
    --primary-400: #18e3f8;
    --primary-500: #00c6de;
    --primary-600: #009cb8;
    --primary-700: #087d96;
    --primary-800: #10647a;
    --primary-900: #125467;
    --primary-950: #053747;
    
    /* Secondary Colors */
    --secondary-50: #f7f8f8;
    --secondary-100: #edeef1;
    --secondary-200: #d8dbdf;
    --secondary-300: #b5bac4;
    --secondary-400: #8d94a3;
    --secondary-500: #6f7788;
    --secondary-600: #596070;
    --secondary-700: #494f5b;
    --secondary-800: #3f434d;
    --secondary-900: #373b43;
    --secondary-950: #26282e;
    
    /* Neutral Colors */
    --neutral-0: #ffffff;
    --neutral-50: #f5f7fa;
    --neutral-100: #f2f5f8;
    --neutral-200: #e1e4ea;
    --neutral-300: #cacfd8;
    --neutral-400: #99a0ae;
    --neutral-500: #717784;
    --neutral-600: #525866;
    --neutral-700: #2b303b;
    --neutral-800: #222530;
    --neutral-900: #1e1f23;
    --neutral-950: #1b1c20;
    
    /* Text Colors */
    --text-strong-950: #0e121b;
    --text-sub-600: #525866;
    --text-soft-400: #99a0ae;
    --text-disabled-300: #cacfd8;
    --text-white-0: #ffffff;
    
    /* Background Colors */
    --bg-white-0: #ffffff;
    --bg-weak-50: #f5f7fa;
    --bg-soft-200: #e1e4ea;
    
    /* Stroke Colors */
    --stroke-soft-200: #e1e4ea;
    --stroke-sub-300: #cacfd8;
    
    /* State Colors */
    --state-error-base: #fb3748;
    --state-information-base: #335cff;
    --state-information-lighter: #ebf1ff;
    --state-success-base: #00aa00;
    
    /* Spacing */
    --spacing-4: 4px;
    --spacing-8: 8px;
    --spacing-12: 12px;
    --spacing-16: 16px;
    --spacing-20: 20px;
    --spacing-24: 24px;
    --spacing-32: 32px;
    --spacing-40: 40px;
    --spacing-48: 48px;
    
    /* Radius */
    --radius-8: 8px;
    --radius-10: 10px;
    --radius-12: 12px;
    --radius-24: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0px 1px 2px 0px rgba(10, 13, 20, 0.03);
    --shadow-md: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-white-0);
    color: var(--text-strong-950);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.onboarding-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white-0);
}

/* Navigation Top */
.nav-top {
    background-color: var(--bg-white-0);
    border-bottom: 1px solid var(--stroke-soft-200);
    padding: 24px 44px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-top-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-600);
    margin: 0;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--stroke-soft-200);
    background-color: var(--bg-white-0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-sub-600);
    transition: all 0.2s ease;
}

.step-circle.active {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
    color: var(--text-white-0);
}

.step-circle.completed {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.step-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-sub-600);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.step-item.active .step-label {
    color: var(--text-strong-950);
}

.step-arrow {
    color: var(--text-soft-400);
    display: flex;
    align-items: center;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-10);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-sub-600);
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background-color: var(--bg-weak-50);
}

/* Body Content */
.body-content {
    flex: 1;
    position: relative;
    padding: 48px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pattern-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 964px;
    height: 456px;
    background: url("data:image/svg+xml,%3Csvg width='964' height='456' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='pattern' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23e1e4ea' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23pattern)'/%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    padding: 0 44px;
    display: flex;
    justify-content: center;
}

/* Content Styles */
.content-section {
    width: 392px;
    max-width: 392px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
}

/* Wide content section for user management */
.content-section.content-section-wide {
    width: 100%;
    max-width: 800px;
}

.content-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.custom-icon {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, rgba(113, 119, 132, 0.1) 0%, rgba(113, 119, 132, 0) 100%);
    border: 1px solid rgba(113, 119, 132, 0.3);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 8px;
}

.icon-inner {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.icon-inner svg {
    width: 32px;
    height: 32px;
    color: var(--text-sub-600);
}

.content-title {
    font-family: 'Inter Display', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: var(--text-strong-950);
    margin: 0;
}

.content-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-sub-600);
    letter-spacing: -0.176px;
    margin: 0;
}

.content-divider {
    width: 100%;
    height: 1px;
    background-color: var(--stroke-soft-200);
    margin: 0;
}

/* Form Styles */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-strong-950);
    letter-spacing: -0.084px;
}

.form-label-optional {
    color: var(--text-sub-600);
    font-weight: 400;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-10);
    background-color: var(--bg-white-0);
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(0, 156, 184, 0.1);
}

.form-input::placeholder {
    color: var(--text-soft-400);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23525866' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-input:disabled {
    background-color: var(--bg-weak-50);
    color: var(--text-disabled-300);
    cursor: not-allowed;
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-10);
    background-color: var(--bg-white-0);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.input-with-icon input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
}

.input-with-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-sub-600);
    flex-shrink: 0;
}

.input-with-prefix {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-10);
    background-color: var(--bg-white-0);
    box-shadow: var(--shadow-sm);
    width: 100%;
    position: relative;
}

.input-prefix {
    padding: 10px 12px;
    background-color: var(--bg-white-0);
    font-size: 14px;
    line-height: 20px;
    color: var(--text-sub-600);
    white-space: nowrap;
    border-right: 1px solid var(--stroke-soft-200);
    border-top-left-radius: var(--radius-10);
    border-bottom-left-radius: var(--radius-10);
}

.country-code-selector {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
    min-width: 60px;
    border-top-left-radius: var(--radius-10);
    border-bottom-left-radius: var(--radius-10);
}

.country-code-selector:hover {
    background-color: var(--bg-weak-50);
}

.country-code-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: -1px;
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 200px;
    max-height: 250px;
    overflow-y: auto;
}

.country-code-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-strong-950);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--stroke-soft-200);
}

.country-code-option:last-child {
    border-bottom: none;
}

.country-code-option:hover {
    background-color: var(--bg-weak-50);
}

.country-code-option.selected {
    background-color: var(--primary-50);
    color: var(--primary-600);
}

.input-prefix-suffix {
    padding: 10px 12px;
    background-color: var(--bg-white-0);
    font-size: 14px;
    line-height: 20px;
    color: var(--text-sub-600);
    white-space: nowrap;
    border-left: 1px solid var(--stroke-soft-200);
}

.input-main {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    background-color: var(--bg-white-0);
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    border-top-right-radius: var(--radius-10);
    border-bottom-right-radius: var(--radius-10);
}

.hint-text {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-sub-600);
}

.hint-text svg {
    width: 16px;
    height: 16px;
    color: var(--text-soft-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

/* Buttons */
.btn {
    padding: 10px;
    border-radius: var(--radius-10);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.084px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-600);
    color: var(--text-white-0);
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-700);
}

.btn-primary:disabled {
    background-color: var(--bg-weak-50);
    color: var(--text-disabled-300);
    cursor: not-allowed;
}

.btn-secondary {
    background-color: var(--bg-white-0);
    color: var(--text-sub-600);
    border: 1px solid var(--stroke-soft-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-weak-50);
}

.btn-icon-only {
    width: 32px;
    height: 32px;
    padding: 6px;
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-8);
    box-shadow: var(--shadow-sm);
    color: var(--text-sub-600);
}

.btn-icon-only:hover {
    background-color: var(--bg-weak-50);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkbox Card */
.checkbox-card {
    width: 100%;
    height: 88px;
    padding: 16px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-12);
    background-color: var(--bg-white-0);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.checkbox-card.xactimate-checkbox-card {
    height: auto;
    padding: 12px 16px;
    align-items: center;
}

.checkbox-card:hover {
    border-color: var(--primary-600);
}

.checkbox-card.active {
    border-color: var(--primary-600);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-sub-600);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-strong-950);
    letter-spacing: -0.084px;
}

.card-description {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-sub-600);
}

.card-checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
}

.checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--stroke-soft-200);
    background-color: var(--bg-soft-200);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

.checkbox-card.active .checkbox {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.checkbox-card.active .checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-white-0);
    font-size: 12px;
    font-weight: 600;
}

/* Dropdown */
.dropdown {
    position: relative;
    width: 100%;
}

.dropdown-button {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-10);
    background-color: var(--bg-white-0);
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.dropdown-button:hover {
    border-color: var(--primary-600);
}

.dropdown-button svg {
    width: 20px;
    height: 20px;
    color: var(--text-sub-600);
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 4px;
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-10);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-option {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: var(--bg-weak-50);
}

.dropdown-option:first-child {
    border-top-left-radius: var(--radius-10);
    border-top-right-radius: var(--radius-10);
}

.dropdown-option:last-child {
    border-bottom-left-radius: var(--radius-10);
    border-bottom-right-radius: var(--radius-10);
}

/* Alert/Toast */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-12);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-error {
    background-color: var(--state-error-base);
    color: var(--text-white-0);
}

.alert-info {
    background-color: var(--state-information-lighter);
    color: var(--text-strong-950);
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.alert-message {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    opacity: 0.9;
}

/* Form Section Title */
.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-strong-950);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* User Count Badge */
.user-count-badge {
    background-color: var(--primary-600);
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Users List */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--bg-weak-50);
    border-radius: var(--radius-10);
    border: 1px solid var(--stroke-soft-200);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub-600);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-strong-950);
    line-height: 20px;
}

.user-email {
    font-size: 13px;
    color: var(--text-sub-600);
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    color: var(--text-soft-400);
    text-align: center;
}

.empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* File Input Wrapper */
.file-input-wrapper input[type="file"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    cursor: pointer;
}

.file-input-wrapper input[type="file"]::file-selector-button {
    display: none;
}

/* Secondary Button Style */
.btn.btn-secondary {
    background-color: var(--bg-white-0);
    color: var(--text-strong-950);
    border: 1px solid var(--stroke-soft-200);
    box-shadow: var(--shadow-sm);
}

.btn.btn-secondary:hover {
    background-color: var(--bg-weak-50);
    border-color: var(--primary-600);
}

.btn.btn-secondary svg {
    color: var(--text-sub-600);
}

/* User Management Layout */
.user-management-layout {
    display: flex;
    gap: 32px;
    width: 100%;
}

.user-forms-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    }
    
.users-panel {
    width: 320px;
    flex-shrink: 0;
    background-color: var(--bg-weak-50);
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-12);
    padding: 20px;
    display: flex;
    flex-direction: column;
    max-height: 600px;
    }
    
.users-panel-header {
    margin-bottom: 16px;
}

.users-panel .users-list {
    flex: 1;
    overflow-y: auto;
}

/* User Remove Button */
.user-remove-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background-color: transparent;
    color: var(--text-soft-400);
    cursor: pointer;
    border-radius: var(--radius-6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    }
    
.user-remove-btn:hover {
    background-color: var(--state-error-base);
    color: white;
    }
    
.user-item {
    position: relative;
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .user-management-layout {
        flex-direction: column;
    }
    
    .users-panel {
        width: 100%;
        max-height: 400px;
    }
}

.alert-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.alert-link {
    color: var(--text-white-0);
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.alert-close {
    width: 20px;
    height: 20px;
    opacity: 0.72;
    cursor: pointer;
    flex-shrink: 0;
}

/* Footer */
.footer-row {
    padding: 20px;
    border-top: 1px solid var(--stroke-soft-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white-0);
}

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

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

.footer-text {
    font-size: 14px;
    color: var(--text-sub-600);
    line-height: 20px;
    letter-spacing: -0.084px;
}

.footer-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-600);
    text-decoration: none;
    line-height: 20px;
    letter-spacing: -0.084px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-700);
}

.footer-version {
    font-size: 14px;
    color: var(--text-soft-400);
    line-height: 20px;
    letter-spacing: -0.084px;
}

/* Back Button */
.back-button {
    position: absolute;
    left: 108px;
    top: 48px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    background-color: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-8);
    box-shadow: var(--shadow-sm);
    color: var(--text-sub-600);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-button:hover {
    background-color: var(--bg-weak-50);
}

.back-button svg {
    width: 20px;
    height: 20px;
}

/* Completion Screen */
.completion-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 8px;
}

.completion-message {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    margin: 0;
}

.completion-email {
    font-weight: 500;
    color: var(--text-strong-950);
}

/* Error Messages */
.text-danger {
    font-size: 12px;
    line-height: 16px;
    color: var(--state-error-base);
    margin-top: 4px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-top {
        padding: 16px 20px;
    }
    
    .nav-top-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-indicator {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .body-content {
        padding: 24px 0;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .content-section {
        width: 100%;
        max-width: 100%;
    }
    
    .back-button {
        position: static;
        margin-bottom: 16px;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* File Upload Styles */
.file-upload-wrapper {
    width: 100%;
}

.file-upload-area {
    width: 100%;
    min-height: 120px;
    padding: 24px;
    border: 2px dashed var(--stroke-soft-200);
    border-radius: var(--radius-12);
    background-color: var(--bg-weak-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-area:hover {
    border-color: var(--primary-600);
    background-color: var(--primary-alpha-10);
}

.file-upload-area.drag-over {
    border-color: var(--primary-600);
    background-color: var(--primary-alpha-16);
}

.file-upload-area svg {
    color: var(--text-soft-400);
    margin-bottom: 4px;
}

.file-upload-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-strong-950);
}

.file-upload-hint {
    font-size: 12px;
    color: var(--text-soft-400);
}

.logo-preview {
    position: relative;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-12);
    background-color: var(--bg-white-0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.logo-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background-color: var(--state-error-base);
    color: white;
    border-radius: var(--radius-6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logo-remove-btn:hover {
    background-color: var(--state-error-darker);
}

/* Toggle Switch Styles */
.toggle-card {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-12);
    background-color: var(--bg-white-0);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-card:hover {
    border-color: var(--primary-600);
}

.toggle-card.active {
    border-color: var(--primary-600);
}

.toggle-content {
    flex: 1;
}

.toggle-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-strong-950);
    line-height: 20px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-soft-200);
    border-radius: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-slider.active {
    background-color: var(--primary-600);
}

.toggle-slider.active::before {
    transform: translateX(20px);
}

/* Select Dropdown Styling */
.form-select {
    width: 100%;
    height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--stroke-soft-200);
    border-radius: var(--radius-8);
    background-color: var(--bg-white-0);
    font-size: 14px;
    line-height: 20px;
    color: var(--text-strong-950);
    font-family: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px var(--primary-alpha-10);
}

.form-select:disabled {
    background-color: var(--bg-weak-50);
    color: var(--text-soft-400);
    cursor: not-allowed;
}
