/* ===== POSTGRES WIZARD ===== */
.wizard-container { max-width: 800px; margin: 0 auto; }
.wizard-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.wizard-step { display: flex; align-items: center; gap: 8px; cursor: pointer; transition: opacity 0.2s; }
.wizard-step:hover { opacity: 0.8; }
.wizard-step-number { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-input); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--text-dim); transition: all 0.2s; }
.wizard-step.active .wizard-step-number { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.wizard-step.completed .wizard-step-number { background: var(--accent-dim); border-color: var(--accent-dim); color: var(--accent-text); }
.wizard-step-label { font-size: 13px; color: var(--text-dim); }
@media (min-width: 768px) { .wizard-step-label { display: block; } }
.wizard-step.active .wizard-step-label { color: var(--text); font-weight: 500; }
.wizard-step-divider { width: 24px; height: 2px; background: var(--border); }
.wizard-step.completed + .wizard-step-divider { background: var(--accent-dim); }
.wizard-content { display: none; }
.wizard-content.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.wizard-nav .btn { min-width: 120px; }
.wizard-progress { text-align: center; font-size: 13px; color: var(--text-dim); }
.wizard-checkbox { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; cursor: pointer; transition: all 0.2s; }
.wizard-checkbox:hover { border-color: var(--accent); }
.wizard-checkbox.checked { border-color: var(--accent); background: var(--accent-glow); }
.wizard-checkbox input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.wizard-checkbox-content { flex: 1; }
.wizard-checkbox-title { font-weight: 500; margin-bottom: 4px; }
.wizard-checkbox-desc { font-size: 13px; color: var(--text-dim); }
.wizard-success { text-align: center; padding: 40px 20px; }
.wizard-success-icon { width: 64px; height: 64px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.wizard-success h3 { font-size: 24px; margin-bottom: 12px; }
.wizard-success p { color: var(--text-dim); margin-bottom: 24px; }

/* Test SQL and RLS Policy sub-tabs */
.test-sql-tab, .rls-policy-tab {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-dim);
}
.test-sql-tab.active, .rls-policy-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-text);
}
.test-sql-tab:hover:not(.active), .rls-policy-tab:hover:not(.active) {
    border-color: var(--accent);
    color: var(--accent);
}

/* Cart add animation */
@keyframes cartBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.cart-animating .nav-icon {
    animation: cartBounce 0.4s ease-out;
}
.cart-animating .nav-badge {
    animation: badgePop 0.3s ease-out 0.1s;
}

/* Product card fly animation */
@keyframes flyToCart {
    0% { opacity: 1; transform: scale(1) translate(0, 0); }
    100% { opacity: 0; transform: scale(0.3) translate(50px, 100px); }
}
.product-flying {
    animation: flyToCart 0.4s ease-in forwards;
    pointer-events: none;
}

/* Copy highlight effect */
@keyframes copyFlash {
    0% { background: var(--accent-glow); }
    100% { background: transparent; }
}
.copy-highlight {
    animation: copyFlash 0.8s ease-out;
    border-radius: 4px;
}
