/* --- CUSTOM ANIMATIONS & THEME --- */
:root {
    --primary: #3C5759;
    --primary-dark: #2D4244;
    --background: #F2F2F2;
    --surface: #FFFFFF;
    --text: #0F0F0F;
    --text-muted: #4A4A4A;
    --danger: #DC2626;
    --success: #10B981;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Montserrat', sans-serif;
}

/* Transitions */
.step-enter {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Radio Cards & Selections */
.radio-card {
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
}

.radio-card:hover {
    border-color: var(--primary);
    background-color: rgba(60, 87, 89, 0.02);
}

.radio-card-active {
    border-color: var(--primary) !important;
    border-width: 2px !important;
    background-color: rgba(60, 87, 89, 0.05) !important;
    box-shadow: 0 4px 6px -1px rgba(60, 87, 89, 0.1);
}

.radio-indicator-inner {
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.radio-card-active .radio-indicator-inner {
    transform: scale(1);
}

.radio-card-active .radio-indicator {
    border-color: var(--primary) !important;
}

/* Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    margin-top: -10px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Charts & Bars */
@keyframes growWidth {
    from {
        width: 0;
    }

    to {
        width: var(--target-width);
    }
}

.animate-bar {
    animation: growWidth 1.5s ease-out forwards;
}

/* Inputs */
.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* Hide Spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Utilities */
.shadow-premium {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}