/* ===== TASADOR - APPLE 2026 STYLE ===== */

:root {
    /* Colors */
    --color-bg: #fbfbfd;
    --color-bg-card: #ffffff;
    --color-bg-input: #f5f5f7;
    --color-bg-hover: #f0f0f2;

    --color-text: #1d1d1f;
    --color-text-secondary: #515154;
    --color-text-muted: #6e6e73;

    --color-primary: #0071e3;
    --color-primary-hover: #0077ed;
    --color-primary-light: rgba(0, 113, 227, 0.1);

    --color-success: #34c759;
    --color-success-light: rgba(52, 199, 89, 0.1);

    --color-error: #ff3b30;
    --color-error-light: rgba(255, 59, 48, 0.1);

    --color-border: #d2d2d7;
    --color-border-light: #e8e8ed;

    /* Shadows - Refined */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 18px;
    /* Slightly larger */
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fbfbfd;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    /* Better readability */
    min-height: 100vh;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input,
select,
textarea {
    font-family: inherit;
}

/* App Layout */
.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 100;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5856d6 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    transition: var(--transition-fast);
}

.header-phone:hover {
    background: var(--color-bg-input);
    text-decoration: none;
    color: var(--color-text);
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

/* Main */
.main {
    flex: 1;
    padding: 0 24px 48px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 48px 0 32px;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Form Card */
.form-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 32px;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Progress */
.progress-container {
    margin-bottom: 32px;
}

.progress-bar {
    height: 4px;
    background: var(--color-bg-input);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #5856d6 100%);
    border-radius: 2px;
    width: 33.33%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg-input);
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background: var(--color-primary);
    color: white;
}

.progress-step.completed .step-circle {
    background: var(--color-success);
    position: relative;
}

.progress-step.completed .step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 16px;
    font-weight: bold;
}

.progress-step span {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.progress-step.active span {
    color: var(--color-text);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.loading-overlay.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.step-header {
    text-align: center;
    margin-bottom: 28px;
}

.step-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.step-header p {
    font-size: 15px;
    color: var(--color-text-secondary);
}

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

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

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.required {
    color: var(--color-error);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-input);
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    color: var(--color-text);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
    animation: slideInUp 0.4s ease backwards;
}

.form-group input:nth-child(1) {
    animation-delay: 0.05s;
}

.form-group input:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group input:nth-child(3) {
    animation-delay: 0.15s;
}

.form-group input:nth-child(4) {
    animation-delay: 0.2s;
}

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

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: var(--color-bg-card);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    transform: translateY(-1px);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--color-error);
    background: var(--color-error-light);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 44px;
}

.field-hint {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Location Toggle */
.location-toggle {
    display: flex;
    background: var(--color-bg-input);
    border-radius: var(--radius);
    padding: 3px;
    margin-bottom: 12px;
    gap: 3px;
}

.toggle-tab {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.toggle-tab:hover {
    color: var(--color-text-secondary);
}

.toggle-tab.active {
    background: var(--color-bg-card);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.location-field {
    transition: opacity var(--transition-fast);
}

.location-field.hidden {
    display: none;
}

/* Input Wrapper for validation icons */
.input-wrapper {
    position: relative;
}

.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-success);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.validation-icon.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.validation-icon svg {
    width: 100%;
    height: 100%;
}

/* Valid state */
.form-group input.valid,
.form-group select.valid {
    border-color: var(--color-success);
    background: rgba(52, 199, 89, 0.05);
}

.input-wrapper .validation-icon.show~.input-with-suffix input,
.input-wrapper input.valid {
    padding-right: 40px;
}

/* Input with suffix */
.input-with-suffix {
    position: relative;
}

.input-with-suffix input {
    padding-right: 48px;
}

.input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    pointer-events: none;
}

/* Extras Section */
.extras-section {
    margin-bottom: 24px;
}

.extras-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
}

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

.checkbox-card {
    cursor: pointer;
}

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

.checkbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--color-bg-input);
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.checkbox-content svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.checkbox-content span {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.checkbox-card:hover .checkbox-content {
    background: var(--color-bg-hover);
}

.checkbox-card input:checked+.checkbox-content {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
}

.checkbox-card input:checked+.checkbox-content svg {
    color: var(--color-primary);
}

.checkbox-card input:checked+.checkbox-content span {
    color: var(--color-primary);
}

/* Consent Section */
.consent-section {
    margin-bottom: 24px;
}

.checkbox-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--color-bg-input);
    border: 2px solid var(--color-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-top: 2px;
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: var(--transition-fast);
}

.checkbox-consent input:checked+.checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.checkbox-consent input:checked+.checkmark::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-consent:hover .checkmark {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.checkbox-consent:focus-within .checkmark {
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.consent-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 2px;
}

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

.btn-secondary {
    background: var(--color-bg-input);
    color: var(--color-text-secondary);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px 24px;
}

.btn-outline:hover {
    background: var(--color-primary-light);
}

.btn-submit .btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* Result Step */
.result-step {
    text-align: center;
}

.result-content {
    padding: 20px 0;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-success) 0%, #30d158 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-icon svg {
    width: 40px;
    height: 40px;
}

.result-content h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.result-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.result-range {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5856d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.result-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.result-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 24px;
    background: var(--color-bg-input);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.result-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

/* CTA Card */
.result-cta {
    margin-bottom: 24px;
}

.cta-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    text-align: left;
}

.cta-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cta-icon svg {
    width: 24px;
    height: 24px;
}

.cta-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.cta-text p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Trust Section */
.trust-section {
    max-width: 680px;
    margin: 32px auto 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border-light);
    padding: 24px;
    margin-top: auto;
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-text);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transition: var(--transition);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.hidden {
    display: none;
}

.toast-error svg {
    width: 24px;
    height: 24px;
    color: var(--color-error);
}

.toast-error span {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 640px) {
    .form-card {
        padding: 24px 20px;
        border-radius: var(--radius-lg);
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group {
        gap: 8px;
    }

    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .checkbox-card .checkbox-content {
        padding: 14px 10px;
    }

    .result-details {
        flex-direction: column;
        gap: 16px;
    }

    .progress-step span {
        display: none;
    }

    .header-phone span {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

    .form-group input,
    .form-group select {
        min-height: 48px;
        padding: 14px 16px;
        font-size: 16px;
    }

    .form-group label {
        font-size: 14px;
        padding-left: 2px;
    }

    .loading-content {
        padding: 32px 24px;
    }

    .loading-steps {
        gap: 12px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
    }

    .loading-step span {
        font-size: 11px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-content {
    text-align: center;
    padding: 48px;
    max-width: 500px;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.loading-spinner i {
    font-size: 80px;
    color: var(--color-primary);
    animation: fa-spin 1.5s linear infinite;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.loading-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.loading-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5856d6 100%);
    border-radius: var(--radius);
    margin-bottom: 32px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.loading-timer i {
    font-size: 16px;
}

.loading-timer strong {
    font-size: 18px;
    font-weight: 700;
    margin-left: 4px;
}

.loading-steps {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    margin-top: 24px;
}

.loading-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.loading-step.active {
    opacity: 1;
    transform: scale(1.1);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-input);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.5s ease;
    box-shadow: var(--shadow-sm);
}

.loading-step.active .step-icon {
    background: var(--color-primary);
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.loading-step.completed .step-icon {
    background: var(--color-success);
    color: white;
}

.loading-step.completed .step-icon i {
    animation: none;
}

.loading-step.completed::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--color-success);
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.step-icon i {
    font-size: 20px;
}

.loading-step span {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Hidden utility */
.hidden {
    display: none !important;
}