/* ── Sync Guide Carousel Styles ─────────────────────── */

/* Prerequisites bar */
.prereq-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(124, 131, 253, 0.06);
    border: 1px solid rgba(124, 131, 253, 0.12);
    border-radius: 12px;
    flex-wrap: wrap;
}

.prereq-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.prereq-icon {
    font-size: 1.1rem;
}

.prereq-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

/* Carousel wrapper */
.carousel-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

/* Progress dots */
.carousel-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(124, 131, 253, 0.25);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 16px rgba(124, 131, 253, 0.4);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(124, 131, 253, 0.15);
}

/* Viewport & track */
.carousel-viewport {
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-sizing: border-box;
}

/* Slide header */
.slide-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.slide-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.slide-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.slide-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Mini steps inside slides */
.slide-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mini-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.mini-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(124, 131, 253, 0.12);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.mini-step strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

.mini-step p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Slide tips */
.slide-tip {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    background: rgba(52, 199, 89, 0.06);
    border-left: 3px solid rgba(52, 199, 89, 0.5);
    border-radius: 0 8px 8px 0;
    line-height: 1.5;
}

.slide-tip-warning {
    background: rgba(255, 149, 0, 0.06);
    border-left-color: rgba(255, 149, 0, 0.5);
}

.slide-tip-success {
    background: rgba(52, 199, 89, 0.08);
    border-left-color: rgba(52, 199, 89, 0.6);
}

/* Sync options on slide 3 */
.sync-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sync-option {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    position: relative;
}

.sync-option.recommended {
    border-color: rgba(124, 131, 253, 0.3);
    background: rgba(124, 131, 253, 0.06);
}

.sync-option-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.sync-option strong {
    font-size: 0.82rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.sync-option p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 0 0.25rem;
}

.carousel-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(124, 131, 253, 0.2);
    background: rgba(124, 131, 253, 0.06);
    color: var(--accent-primary);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(124, 131, 253, 0.15);
    border-color: rgba(124, 131, 253, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-counter {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.tip-card {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.tip-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.tip-card strong {
    color: var(--text-primary);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 2px;
}

.tip-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .prereq-bar {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .prereq-divider {
        width: 40px;
        height: 1px;
    }
    .carousel-slide {
        padding: 1.25rem;
    }
    .sync-options {
        grid-template-columns: 1fr;
    }
    .tips-grid {
        grid-template-columns: 1fr;
    }
    .carousel-btn span {
        display: none;
    }
    .carousel-btn {
        padding: 0.6rem;
    }
}
