/* =========================================================
   STEP-BY-STEP ADMIN SETUP GUIDE
   Backend-driven states
========================================================= */

.setup-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 3.5rem auto 6rem;
    padding-bottom: 120px;
}

/* Header */
.setup-header {
    text-align: center;
    margin-bottom: 3rem;
}

.setup-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    background-image: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.setup-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Steps */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Step card */
.setup-step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 2rem 1.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.setup-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.setup-step:hover::before {
    opacity: 1;
}

.setup-step:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

/* Indicator */
.step-indicator {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Completed → checkmark */
.setup-step.completed .step-indicator {
    color: transparent;
    position: relative;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.setup-step.completed .step-indicator::after {
    content: "✓";
    color: #ffffff;
    position: absolute;
}

/* ================================
   ACTIVE STEP — DISTINCT COLOR
================================ */

/* Card highlight */
.setup-step.active {
    border-color: rgba(56, 189, 248, 0.7); /* sky blue */
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35),
                0 18px 50px rgba(56, 189, 248, 0.25);
}

/* Circle */
.setup-step.active .step-indicator {
    background: radial-gradient(
        circle at top left,
        #38bdf8,
        #2563eb
    );
    border: none;
    color: #ffffff;
    box-shadow:
        0 0 0 4px rgba(56, 189, 248, 0.15),
        0 0 25px rgba(56, 189, 248, 0.8);
}

/* Content */
.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    background-image: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 18px rgba(99, 102, 241, 0.25);
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Links */
.step-link {
    color: #a5b4fc;
    font-weight: 600;
    text-decoration: none;
}

.step-link:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* Page override */
body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%) !important;
}
