/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #076FC6;
    --primary-dark: #0056b3;
    --primary-light: #0086C9;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #fdfdff;
    --bg-light: #f8f9fa;
    --bg-hover: #f0f7ff;

    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #414651;
    --text-muted: #6b7280;
    --text-light: rgba(83, 88, 98, 0.70);
    --text-blue: #293056;

    /* Borders */
    --border-primary: #e5e7eb;
    --border-secondary: #E9EAEB;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-focus: 0 0 0 3px rgba(7, 111, 198, 0.1);

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-xs: 10px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 28px;

    --line-height-sm: 12.387px;
    --line-height-md: 20px;
    --line-height-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    margin: 0;
    color: var(--text-primary);
}

/* ===== LAYOUT COMPONENTS ===== */
.page-wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.main-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.main-header img {
    height: 40px;
}

/* ===== WIZARD LAYOUT ===== */
.wizard {
    display: flex;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.wizard-sidebar {
    width: 30%;
    background-color: var(--bg-secondary);
    background-image: url('./public/9rayti-backdrop.png');
    background-repeat: no-repeat;
    border-right: 1px solid var(--border-primary);
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.wizard-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100vh;
    overflow: hidden;
}

.wizard-content {
    flex-grow: 1;
    padding: 2rem 3rem;
    overflow-y: auto;
}

.wizard-sidebar-footer {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

.wizard-sidebar-footer p {
    color: var(--text-blue);
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: 400;
    line-height: var(--line-height-sm);
    max-width: 300px;
}

.wizard-sidebar-footer p strong {
    font-weight: 600;
}

.wizard-sidebar-footer a {
    color: var(--text-blue);
    text-decoration: underline;
}

/* ===== WIZARD STEPS (DESKTOP) ===== */
.wizard-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 12px;
    bottom: 19px;
    width: 2px;
    background-color: var(--border-primary);
}

.wizard-step-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2.5rem;
}

.wizard-step-item:last-child {
    margin-bottom: 0;
}

.wizard-step-item__marker {
    position: absolute;
    left: -2px;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.wizard-step-item__marker::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    transition: var(--transition-normal);
}

.wizard-step-item.is-active .wizard-step-item__marker,
.wizard-step-item.is-complete .wizard-step-item__marker {
    border-color: var(--primary);
    background-color: var(--primary);
}

.wizard-step-item.is-active .wizard-step-item__marker::after,
.wizard-step-item.is-complete .wizard-step-item__marker::after {
    background-color: white;
}

.wizard-step-item__title {
    color: var(--primary);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: 600;
    line-height: var(--line-height-lg);
}

.wizard-step-item__subtitle {
    color: var(--primary);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: 400;
    line-height: var(--line-height-lg);
}

/* ===== WIZARD STEPS (MOBILE) ===== */
.wizard-steps-mobile {
    display: none;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.wizard-step-bar {
    flex: 1;
    height: 6px;
    background-color: var(--border-primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.wizard-step-bar.is-active,
.wizard-step-bar.is-complete {
    background-color: var(--primary);
}

/* ===== WIZARD STEP CONTENT ===== */
.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
}

.wizard-step__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.wizard-step__subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.25rem 0 1rem 0;
    color: var(--text-primary);
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

/* ===== BUTTON COMPONENTS ===== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-family);
}

.btn--primary {
    background-color: #FF692E;
    color: white;
}

.btn--primary:hover {
    background-color: #e6561a;
}

.btn--secondary {
    background-color: #e9ecef;
    color: var(--text-primary);
}

.btn--secondary:hover {
    background-color: #dee2e6;
}

.btn--disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== CHOICE COMPONENTS ===== */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.choice-card {
    display: flex;
    height: 100px;
    padding: var(--spacing-sm) var(--spacing-xl);
    align-items: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-secondary);
    background: var(--bg-primary);
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.choice-card:hover {
    border-color: var(--primary);
    background-color: var(--bg-hover);
}

.choice-card.is-selected {
    border: 2px solid var(--primary-light);
    background: var(--bg-primary);
}

/* ===== CARD COMPONENTS ===== */
.card {
    display: flex;
    align-items: center;
    height: 100px;
    padding: var(--spacing-sm) var(--spacing-xl);
    gap: var(--spacing-sm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-secondary);
    background: var(--bg-primary);
    box-shadow: var(--shadow-xs);
    transition: var(--transition-fast);
    position: relative;
}

.card--icon {
    cursor: pointer;
    text-decoration: none;
}

.card--icon:hover {
    border-color: var(--primary);
    background-color: var(--bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.card--icon.is-selected {
    border: 2px solid var(--primary-light);
    background: var(--bg-primary);
}

.card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-secondary);
    background: var(--bg-primary);
    box-shadow: var(--shadow-xs);
}

.card-icon--md {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.card-text {
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: var(--line-height-md);
}

/* ===== RADIO COMPONENTS ===== */
.radio-modern {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    background-color: white;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 12px;
    flex-shrink: 0;
}

.radio-modern:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.radio-modern:checked {
    border-color: var(--primary);
    background-color: var(--primary);
    transform: scale(1);
}

.radio-modern:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    transform: scale(0);
    animation: radioFill 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes radioFill {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Override d-none class for radio buttons */
.radio-modern.d-none {
    display: inline-block !important;
    opacity: 1 !important;
}

/* Position radio buttons naturally in choice cards */
.choice-card {
    display: flex;
    height: 100px;
    padding: var(--spacing-sm) var(--spacing-xl);
    align-items: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-secondary);
    background: var(--bg-primary);
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.choice-card .radio-modern {
    margin-right: 12px;
    position: static;
}

/* ===== FORM COMPONENTS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    min-width: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: var(--line-height-md);
}

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

.form-input {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition-normal);
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

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

/* Form sections for visual grouping */
.form-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-secondary);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wizard-step__description {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-top: -0.5rem;
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
}

.wizard-step__subtitle {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    margin-top: 0;
}

.form-hint {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.form-row--single {
    grid-template-columns: 1fr;
    max-width: 50%;
}

/* Conditional row with smooth animation */
.conditional-row {
    transition: opacity 0.3s ease;
}

.conditional-row[style*="display: none"] {
    opacity: 0;
}

.conditional-row[style*="display: grid"] {
    opacity: 1;
}

/* ===== TEL INPUT (NEW COMPONENT) ===== */
.tel-input-container {
    position: relative;
    width: 100%;
    min-width: 0;
}

.tel-input-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    transition: var(--transition-normal);
}

.tel-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

.tel-input-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: none;
    border-right: 1px solid var(--border-primary);
    cursor: pointer;
    white-space: nowrap;
}

.tel-input-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.tel-input-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.tel-input-field {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1rem;
    font-family: var(--font-family);
    min-width: 0;
    color: var(--text-primary);
}

.tel-input-field:focus {
    outline: none;
}

.tel-input-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.tel-input-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tel-input-search-wrapper {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-primary);
}

.tel-input-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    box-sizing: border-box;
}

.tel-input-options {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

.tel-input-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.tel-input-option:hover {
    background-color: var(--bg-hover);
}

.tel-input-option.is-selected {
    background-color: var(--bg-hover);
    font-weight: 600;
}

.tel-input-option-flag {
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.tel-input-option-name {
    flex-grow: 1;
}

.tel-input-option-prefix {
    color: var(--text-muted);
}

.tel-input-option.is-hidden {
    display: none;
}

/* ===== CUSTOM SELECT COMPONENT ===== */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    background-color: var(--bg-primary);
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-family);
}

.custom-select__trigger:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

.custom-select__trigger:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

.custom-select__trigger.is-open {
    border-color: var(--primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select__value {
    flex: 1;
}

.custom-select__arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.custom-select__arrow.is-open {
    transform: rotate(180deg);
}

.custom-select__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--primary);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
}

.custom-select__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select__option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
    color: var(--text-primary);
}

.custom-select__option:hover {
    background-color: var(--bg-hover);
}

.custom-select__option.is-selected {
    background-color: var(--primary);
    color: white;
}

.custom-select__option:last-child {
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.custom-select__native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.text-hint {
    display: block;
    font-size: var(--font-size-sm);
    margin-top: 0.25rem;
    color: var(--text-light);
    font-family: var(--font-family);
    font-weight: 400;
    line-height: var(--line-height-md);
}

/* ===== UTILITY CLASSES ===== */
.d-none {
    display: none !important;
}

/* ===== VALIDATION STATES ===== */
.form-input.is-invalid,
.custom-select__trigger.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.10);
}

.card--interactive.is-invalid,
.choice-card.is-invalid,
.card--icon.is-invalid {
    border-color: var(--danger);
}

/* ===== ALERTS (RESPONSIVE) ===== */
.alerts-container {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    animation: alertEnter 0.2s ease-out;
}

.alert::before {
    content: '';
    display: block;
    width: 4px;
    border-radius: 2px;
    background-color: var(--border-primary);
}

.alert__content {
    flex: 1;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    line-height: var(--line-height-lg);
}

.alert__close {
    margin-left: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px;
}

.alert__close:hover {
    color: var(--text-primary);
}

.alert--error {
    border-color: var(--danger);
}

.alert--error::before {
    background-color: var(--danger);
}

.alert--success {
    border-color: var(--success);
}

.alert--success::before {
    background-color: var(--success);
}

.alert--info {
    border-color: var(--primary);
}

.alert--info::before {
    background-color: var(--primary);
}

.alert.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes alertEnter {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .alerts-container {
        top: 12px;
        width: 100%;
        max-width: calc(100vw - 24px);
        padding: 0 12px;
        box-sizing: border-box;
    }
}

/* ===== RESULTS PAGE ===== */
.results-summary {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.results-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.navigation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 993px) {

    html,
    body {
        height: 100vh;
        width: 100vw;
        overflow: hidden;
    }

    .page-wrapper {
        max-width: none;
        margin: 0;
        padding: 0;
        height: 100%;
    }

    .wizard {
        flex-direction: row;
        height: 100vh;
        width: 100vw;
        border-radius: 0;
        box-shadow: none;
    }

    .wizard-sidebar {
        height: 100vh;
        flex-shrink: 0;
    }

    .wizard-main {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        height: 100vh;
        overflow: hidden;
    }

    .main-header {
        flex-shrink: 0;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border-primary);
    }

    .wizard-content {
        overflow-y: auto;
        flex-grow: 1;
    }
}

@media (max-width: 992px) {
    .wizard-sidebar {
        display: none;
    }

    .wizard-steps-mobile {
        display: flex;
    }

    .wizard {
        flex-direction: column;
        overflow: hidden;
        height: 100vh;
        display: flex;
    }

    .wizard-main {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100vh;
        flex: 1;
    }

    .main-header {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border-primary);
    }

    .main-header img {
        height: 32px;
    }

    .wizard-content {
        padding: 0 1rem 5rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    .wizard-steps-mobile {
        flex-shrink: 0;
        margin: 0.75rem auto;
        width: 70%;
    }

    .wizard-step {
        display: none;
    }

    .wizard-step.is-active {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    .wizard-step__title {
        flex-shrink: 0;
        margin-bottom: 1rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .wizard-step__subtitle {
        font-size: 1.125rem;
        margin: 1.5rem 0 1rem 0;
    }

    .choice-grid {
        overflow-y: auto;
        padding-right: 0.5rem;
        margin-bottom: 0;
        min-height: 0;
        max-height: none;
        gap: 0.75rem;
        max-height: 50vh;
    }

    .wizard-step-content {
        overflow-y: auto;
        flex: 1;
        min-height: 0;
        padding-right: 0.5rem;
    }

    .wizard-navigation {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        flex-shrink: 0;
        padding: 0.875rem 1rem;
        margin-top: 0;
        background-color: var(--bg-primary);
        z-index: 10;
        border-top: 1px solid var(--border-primary);
    }

    .choice-grid,
    .results-data,
    .form-row {
        grid-template-columns: 1fr;
        padding-top: .3rem;
    }

    .choice-card {
        display: flex;
        height: 56px;
        padding: var(--spacing-sm) var(--spacing-lg);
        align-items: center;
        align-self: stretch;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-secondary);
        background: var(--bg-primary);
    }

    .card--icon {
        display: flex;
        height: 56px;
        padding: var(--spacing-sm) var(--spacing-lg);
        align-items: center;
        align-self: stretch;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-secondary);
        background: var(--bg-primary);
    }

    .custom-select__dropdown {
        max-height: 150px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-row {
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* ===== CAROUSEL COMPONENT ===== */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.carousel-wrapper {
    flex: 1;
    overflow: auto;
    padding: 1rem;
    max-height: 50vh;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-primary);
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-secondary);
}

.carousel-arrow:hover {
    border-color: var(--primary);
    background-color: var(--bg-hover);
    color: var(--primary);
}

.carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.carousel-dot:hover {
    background-color: var(--primary-light);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Desktop: Hide controls container, show arrows on sides */
@media (min-width: 993px) {
    .carousel-controls {
        display: none;
    }

    .carousel-pagination--desktop {
        display: flex;
    }

    .carousel-container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

/* Mobile: Hide side arrows, show controls container with arrows beside dots */
@media (max-width: 992px) {
    .carousel-container {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    /* Hide desktop pagination on mobile */
    .carousel-pagination--desktop {
        display: none;
    }

    /* Hide the side arrows on mobile */
    .carousel-container>.carousel-arrow {
        display: none !important;
    }

    .carousel-wrapper {
        width: 100%;
        margin-bottom: 5rem;
    }

    /* Make controls sticky/fixed at bottom like wizard navigation */
    .carousel-controls {
        display: flex;
        position: fixed;
        bottom: 60px;
        /* Reduced from 80px to sit closer to navigation */
        left: 0;
        right: 0;
        margin: 0;
        padding: 1rem 1rem;
        /* Reduced padding for more compact layout */
        gap: 0.75rem;
        background-color: var(--bg-primary);
        border-top: 1px solid var(--border-primary);
        z-index: 9;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    .carousel-pagination {
        margin-bottom: 0;
    }

    /* Adjust wizard step to account for fixed controls */
    .wizard-step[data-step="2"] {
        padding-bottom: 5rem;
    }
}

/* ===== WIZARD COMPLETED MARKER ===== */
.wizard-step-item.is-complete .wizard-step-item__marker {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='21' height='19' viewBox='0 0 21 19' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M18.4939 1.31677L6.5606 12.8334L3.39393 9.4501C2.8106 8.9001 1.89393 8.86677 1.22726 9.33344C0.577262 9.81677 0.393928 10.6668 0.793928 11.3501L4.54393 17.4501C4.9106 18.0168 5.54393 18.3668 6.26059 18.3668C6.94393 18.3668 7.59393 18.0168 7.9606 17.4501C8.5606 16.6668 20.0106 3.01677 20.0106 3.01677C21.5106 1.48344 19.6939 0.133436 18.4939 1.3001V1.31677Z' fill='white'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.wizard-step-item.is-complete .wizard-step-item__marker::after {
    display: none;
}

/* ===== CUSTOM SELECT SEARCH ===== */
.custom-select__search-wrapper {
    padding: 0.75rem;
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    z-index: 1;
    border-bottom: 1px solid var(--border-primary);
}

.custom-select__search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-family);
    box-sizing: border-box;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition-fast);
}

.custom-select__search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

/* ===== VALIDATION ERRORS ===== */
.validation-errors {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.validation-errors__header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #DC2626;
    font-weight: 600;
    margin-bottom: 12px;
}

.validation-errors__header svg {
    flex-shrink: 0;
}

.validation-errors__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-errors__list li {
    color: #991B1B;
    padding: 4px 0 4px 28px;
}

.validation-errors__list li:before {
    content: "•";
    margin-right: 8px;
}
/* ===== GRANDS DOMAINES GRID ===== */
.step2-view {
    display: none;
}

.step2-view.is-active {
    display: block;
}

.grands-domaines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .grands-domaines-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .grands-domaines-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.grand-domaine-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background-color: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    min-height: 140px;
    font-family: var(--font-family);
}

.grand-domaine-card:hover {
    border-color: var(--primary);
    background-color: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.grand-domaine-card:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

.grand-domaine-card.is-invalid {
    border-color: var(--danger);
    animation: shake 0.3s ease;
}

.grand-domaine-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.grand-domaine-card__icon svg {
    width: 32px;
    height: 32px;
}

.grand-domaine-card__name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.grand-domaine-card__count {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* Badge showing selection count on grand domaine cards */
.grand-domaine-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    z-index: 1;
    /* Prevent bubbling/animation on view changes */
    transition: none;
    animation: none;
    transform: none;
}

/* Ensure the card has relative positioning for the badge */
.grand-domaine-card {
    position: relative;
}

/* Add subtle highlight to cards with selections */
.grand-domaine-card:has(.grand-domaine-card__badge[style*="display: flex"]) {
    border-color: var(--primary);
    background-color: rgba(7, 111, 198, 0.03);
}

/* ===== SECTEURS VIEW ===== */
.step2-secteurs-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: 1.25rem;
}

.step2-secteurs-header .wizard-step__title {
    margin: 0;
    font-size: var(--font-size-2xl);
}

.btn-back-domaines {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition-fast);
    width: fit-content;
}

.btn-back-domaines:hover {
    background-color: var(--bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-back-domaines svg {
    width: 16px;
    height: 16px;
}

/* ===== VIEW TRANSITION SPINNER ===== */
.view-transition-spinner {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: var(--spacing-2xl) 0;
    min-height: 200px;
}

.view-transition-spinner.is-active {
    display: flex;
}

.spinner-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: spinnerBounce 1.2s ease-in-out infinite;
}

.spinner-dot:nth-child(1) {
    animation-delay: 0s;
}

.spinner-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes spinnerBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hide secteurs content when spinner is active (but NOT selection-summary) */
.step2-view .secteurs-container,
.step2-view .je-ne-sais-pas-container {
    transition: opacity 0.15s ease;
}

.step2-view.is-loading .secteurs-container,
.step2-view.is-loading .je-ne-sais-pas-container {
    opacity: 0;
    pointer-events: none;
}

.secteurs-container {
    margin-bottom: var(--spacing-xl);
}

.choice-grid--secteurs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .choice-grid--secteurs {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .choice-grid--secteurs {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===== JE NE SAIS PAS BUTTON ===== */
.je-ne-sais-pas-container {
    display: flex;
    justify-content: center;
    margin: var(--spacing-2xl) 0;
}

.btn--je-ne-sais-pas {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) var(--spacing-3xl);
    background: transparent;
    border: 2px dashed var(--border-primary);
    border-radius: var(--radius-xl);
    color: var(--text-muted);
    font-size: var(--font-size-lg);
    font-weight: 500;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition-fast);
    min-height: 70px;
}

.btn--je-ne-sais-pas:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--bg-hover);
}

.btn--je-ne-sais-pas svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* ===== HEROICONS SIZE UTILITIES ===== */
.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

/* ===== SHAKE ANIMATION ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* ===== MOBILE ADJUSTMENTS FOR GRANDS DOMAINES ===== */
@media (max-width: 480px) {
    .grands-domaines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .grand-domaine-card {
        padding: var(--spacing-md);
        min-height: 120px;
    }

    .grand-domaine-card__icon {
        width: 40px;
        height: 40px;
    }

    .grand-domaine-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .grand-domaine-card__name {
        font-size: 12px;
    }

    .grand-domaine-card__badge {
        top: 6px;
        right: 6px;
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        padding: 0 5px;
    }

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

/* ===== SECTEUR CARDS WITH ICONS ===== */
.card--with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl);
    gap: var(--spacing-sm);
    height: auto;
    min-height: 140px;
}

.card--with-icon .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--primary);
    flex-shrink: 0;
    margin-bottom: var(--spacing-sm);
}

.card--with-icon .card-icon svg {
    width: 32px;
    height: 32px;
}

.card--with-icon .card-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card--with-icon.is-selected .card-icon {
    color: var(--primary);
}

@media (max-width: 480px) {
    .card--with-icon {
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }

    .card-icon {
        width: 24px;
        height: 24px;
    }

    .card-icon svg {
        width: 20px;
        height: 20px;
    }

    .card--with-icon .card-text {
        font-size: 11px;
    }
}

/* ===== MULTI-DOMAIN TABS (Step 2 Redesign) ===== */
/* Step 2 subtitle - different from Step 3's "Dernière étape" subtitle */
.wizard-step[data-step="2"] > p.wizard-step__subtitle {
    font-size: var(--font-size-md);
    color: var(--text-muted);
    font-weight: 400;
    margin: 0 0 var(--spacing-xl) 0;
}

/* Domain Tabs Container */
.domain-tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-primary) transparent;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
}

.domain-tabs-container::-webkit-scrollbar {
    height: 4px;
}

.domain-tabs-container::-webkit-scrollbar-track {
    background: transparent;
}

.domain-tabs-container::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 2px;
}

.domain-tabs {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs);
    min-width: max-content;
}

.domain-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--border-primary);
    border-radius: 2rem;
    background: var(--bg-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.domain-tab:hover {
    border-color: var(--primary);
    background-color: var(--bg-hover);
}

.domain-tab:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

.domain-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.domain-tab__icon svg {
    width: 18px;
    height: 18px;
}

.domain-tab__name {
    flex: 1;
}

.domain-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.domain-tab.is-active .domain-tab__badge {
    background: white;
    color: var(--primary);
}

/* Secteurs Panel */
.secteurs-panel {
    margin-bottom: var(--spacing-lg);
}

.secteurs-grid {
    margin-bottom: var(--spacing-lg);
}

/* Selection Summary */
.selection-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    min-height: 48px;
    border: 1px solid var(--border-primary);
    /* Prevent animation on view changes */
    transition: none;
    animation: none;
    transform: none;
}

.selection-summary__label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.selection-summary__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    flex: 1;
}

.selection-summary__empty {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-style: italic;
}

/* Selection Chips */
.selection-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 6px 8px 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    /* Prevent animation on view changes */
    transition: none;
    animation: none;
    transform: none;
}

.selection-chip__text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selection-chip__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    transition: var(--transition-fast);
}

.selection-chip__remove:hover {
    background: rgba(255,255,255,0.4);
}

/* Removed chipEnter animation - causes visual flicker on view changes */

/* Mobile Responsive for Domain Tabs */
@media (max-width: 767px) {
    .domain-tabs-container {
        margin: 0 -1rem var(--spacing-lg);
        padding: 0 1rem var(--spacing-sm);
    }

    .domain-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 13px;
    }

    .domain-tab__icon {
        width: 16px;
        height: 16px;
    }

    .domain-tab__icon svg {
        width: 14px;
        height: 14px;
    }

    .domain-tab__badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .selection-summary {
        position: fixed;
        bottom: 70px;
        left: 0;
        right: 0;
        padding: var(--spacing-md) var(--spacing-lg);
        margin: 0;
        border-radius: 0;
        background: white;
        border: none;
        border-top: 1px solid var(--border-primary);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .selection-chip {
        font-size: 12px;
        padding: 4px 6px 4px 10px;
    }

    .selection-chip__text {
        max-width: 100px;
    }

    .selection-chip__remove {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }

    .wizard-step[data-step="2"] > p.wizard-step__subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }

    /* Step 2 titles responsive */
    .step2-secteurs-header .wizard-step__title {
        font-size: var(--font-size-lg);
    }

    .step2-secteurs-header {
        gap: var(--spacing-sm);
    }

    /* Add padding for fixed selection summary + navigation */
    .step2-view {
        padding-bottom: 120px;
    }

    /* Step 3 form responsive */
    .form-section {
        margin-bottom: var(--spacing-xl);
        padding-bottom: var(--spacing-lg);
    }

    .form-row--single {
        max-width: 100%;
    }

    .wizard-step__description {
        font-size: var(--font-size-xs);
    }

    .wizard-step__subtitle {
        font-size: var(--font-size-md);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .domain-tab__name {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .selection-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .selection-summary__chips {
        width: 100%;
    }
}

/* ===== HTMX SUBMIT INDICATOR ===== */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.htmx-request .submit-text,
.htmx-request .btn--primary > svg:last-child {
    display: none;
}

/* Disable button during request */
.htmx-request button[type="submit"] {
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner animation */
.spinner-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Full page overlay during submission */
.submit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.submit-overlay.is-active {
    display: flex;
}

.submit-overlay__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-3xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.submit-overlay__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-primary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.submit-overlay__text {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    font-weight: 500;
}
