/* onboarding.css */
/* Glassmorphism Wizard Styles */

/* Overlay */
#onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dim background */
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex; /* Hidden controlled by js class */
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#onboarding-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Container */
.onboarding-modal {
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark .onboarding-modal {
    background: rgba(15, 23, 42, 0.85); /* Slate 900 */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#onboarding-overlay.active .onboarding-modal {
    transform: scale(1);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 99px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.dark .progress-container {
    background: rgba(255,255,255,0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    width: 0%;
    transition: width 0.4s ease;
}

/* Steps */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step Content */
.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: #3b82f6;
    font-size: 32px;
}

.dark .step-icon {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: #93c5fd;
}

/* Buttons */
.step-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn-onboarding-primary {
    flex: 1;
    background: #10b981;
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-onboarding-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

.btn-onboarding-secondary {
    background: transparent;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
}

.dark .btn-onboarding-secondary {
    color: #94a3b8;
}

.btn-onboarding-secondary:hover {
    background: rgba(0,0,0,0.05);
}

.dark .btn-onboarding-secondary:hover {
    background: rgba(255,255,255,0.05);
}
