/* Custom Style Enhancements */

/* Background glow decor */
.glow-blur-1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

.glow-blur-2 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Panel styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.06);
}

/* Custom visual cards styles */
.select-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.select-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(37, 99, 235, 0.12);
}

.select-card.active-card {
    border-color: #2563EB;
    background-color: rgba(37, 99, 235, 0.03);
    box-shadow: 0 0 0 1px #2563EB, 0 12px 20px -8px rgba(37, 99, 235, 0.15);
}

/* WCAG Accessible focus outlines */
.select-card:focus-visible,
input:focus-visible,
button:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

/* Loading Spinner */
.loading-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-top: 4px solid #2563EB;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

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

/* Sliding animation classes */
.funnel-step {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.funnel-step.hidden-step {
    display: none;
    opacity: 0;
    transform: translateX(10px);
}

.funnel-step.active-step {
    display: block;
    animation: stepSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
