/* ============================================================
   GoBistroLink Onboarding — Master Stylesheet
   Font: Plus Jakarta Sans | Dark theme: #0B0F19
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* =============================================
   GLOBAL WRAPPER
============================================= */
#gbl-form-wrapper {
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0B0F19 0%, #111827 50%, #0B0F19 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
}

/* Background grid pattern */
#gbl-form-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Ambient glow blobs */
#gbl-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* =============================================
   FORM CARD
============================================= */
#gbl-form-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 48px 48px 40px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(15, 78, 179, 0.08);
    animation: gblFadeSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gblFadeSlide {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header section */
.gbl-form-header {
    text-align: center;
    margin-bottom: 36px;
}

.gbl-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f4eb3, #ff5353);
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 12px 32px rgba(15, 78, 179, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 12px 32px rgba(15, 78, 179, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset; }
    50% { box-shadow: 0 16px 48px rgba(255, 83, 83, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset; }
}

.gbl-form-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.gbl-form-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* =============================================
   FORM FIELDS
============================================= */
.gbl-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 560px) {
    .gbl-field-row { grid-template-columns: 1fr; }
    #gbl-form-card { padding: 32px 24px; }
}

.gbl-field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0;
}

.gbl-field-full {
    margin-bottom: 16px;
}

.gbl-field-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gbl-field-group label i {
    font-size: 11px;
    color: #60a5fa;
}

.gbl-field-group label .req {
    color: #ff5353;
    font-size: 14px;
    line-height: 1;
}

.gbl-field-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.25s ease;
    outline: none;
}

.gbl-field-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.gbl-field-group input:focus {
    background: rgba(15, 78, 179, 0.1);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12), 0 0 20px rgba(15, 78, 179, 0.15);
}

.gbl-field-group input.gbl-input-error {
    border-color: rgba(255, 83, 83, 0.6) !important;
    background: rgba(255, 83, 83, 0.07) !important;
    box-shadow: 0 0 0 3px rgba(255, 83, 83, 0.1) !important;
}

.gbl-field-error {
    font-size: 11px;
    color: #ff7070;
    font-weight: 600;
    display: none;
    animation: gblFadeIn 0.2s ease;
}

.gbl-field-error.visible {
    display: block;
}

.gbl-field-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
}

.gbl-global-error {
    background: rgba(255, 83, 83, 0.1);
    border: 1px solid rgba(255, 83, 83, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ff7070;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

/* =============================================
   SUBMIT BUTTON
============================================= */
#gbl-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0f4eb3 0%, #1a60d0 50%, #0f4eb3 100%);
    background-size: 200% 100%;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
    box-shadow: 0 8px 32px rgba(15, 78, 179, 0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
    position: relative;
    overflow: hidden;
}

#gbl-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

#gbl-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(15, 78, 179, 0.6), 0 0 0 1px rgba(255,255,255,0.12) inset;
    background-position: 100% 0;
}

#gbl-submit-btn:hover::before {
    transform: translateX(100%);
}

#gbl-submit-btn:active {
    transform: translateY(0);
}

#gbl-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.gbl-form-footnote {
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gbl-form-footnote i {
    color: #22c55e;
}

/* =============================================
   STEP 2: LOADING OVERLAY
============================================= */
#gbl-setup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0B0F19;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: gblFadeIn 0.4s ease;
}

@keyframes gblFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#gbl-particle-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleDrift linear infinite;
    opacity: 0;
}

@keyframes particleDrift {
    0%   { transform: translateY(0) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(1.3); opacity: 0; }
}

#gbl-loading-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
}

/* Orbital Spinner */
.orbital-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 36px;
    flex-shrink: 0;
}

.orbital-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0f4eb3, #ff5353);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255,83,83,0.5), 0 0 60px rgba(15,78,179,0.3);
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        transform: translate(-50%,-50%) scale(1);
        box-shadow: 0 0 30px rgba(255,83,83,0.5), 0 0 60px rgba(15,78,179,0.3);
    }
    50% {
        transform: translate(-50%,-50%) scale(1.14);
        box-shadow: 0 0 50px rgba(255,83,83,0.7), 0 0 80px rgba(15,78,179,0.5);
    }
}

.orbital-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: orbit linear infinite;
}

.orbital-ring::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-1 { border-color: rgba(15,78,179,0.3); border-top-color: #0f4eb3; animation-duration: 2.5s; }
.ring-1::before { background: #0f4eb3; box-shadow: 0 0 10px #0f4eb3; }
.ring-2 { inset: 14px; border-color: rgba(255,83,83,0.2); border-bottom-color: #ff5353; animation-duration: 3.5s; animation-direction: reverse; }
.ring-2::before { background: #ff5353; box-shadow: 0 0 10px #ff5353; bottom: -5px; top: auto; }
.ring-3 { inset: 28px; border-color: rgba(167,139,250,0.2); border-left-color: #a78bfa; animation-duration: 1.8s; }
.ring-3::before { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; left: -5px; top: 50%; transform: translateY(-50%); }

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

#gbl-setup-headline {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.gbl-setup-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 340px;
}

.gbl-setup-sub strong {
    color: rgba(255,255,255,0.75);
}

/* Progress bar */
.gbl-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gbl-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f4eb3, #ff5353, #a78bfa, #0f4eb3);
    background-size: 300% 100%;
    width: 0%;
    transition: width 0.7s cubic-bezier(0.4,0,0.2,1);
    animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

#gbl-progress-pct {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    text-align: right;
    width: 100%;
    margin-bottom: 24px;
}

/* Steps list */
.gbl-steps-list {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gbl-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    transition: all 0.4s ease;
    opacity: 0.3;
    transform: translateX(-6px);
    border: 1px solid transparent;
}

.gbl-step.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.07);
}

.gbl-step.done {
    opacity: 0.65;
    transform: translateX(0);
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.4s;
}

.gbl-step.active .step-icon {
    box-shadow: 0 0 16px rgba(255,255,255,0.15);
}

.gbl-step.done .step-icon {
    background: rgba(34,197,94,0.15) !important;
    color: #22c55e !important;
}

.step-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.step-text span {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

/* Step state dots */
.step-state { flex-shrink: 0; }

.idle-dot {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.spin-dot {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: orbit 0.7s linear infinite;
}

.check-dot {
    width: 18px; height: 18px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #fff;
}

/* Tips bar */
.gbl-tip-bar {
    width: 100%;
    overflow: hidden;
    height: 22px;
    margin-bottom: 28px;
}

.gbl-tip-text {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    transition: all 0.35s ease;
}

/* Trust badges */
.gbl-trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.gbl-trust-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
}

/* =============================================
   STEP 3: DASHBOARD PAGE
============================================= */
#gbl-dashboard-root {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.gbl-dash-wrapper {
    min-height: 100vh;
    background: #0B0F19;
    position: relative;
    overflow-x: hidden;
}

/* Grid pattern */
.gbl-dash-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.gbl-dash-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ---- HERO SECTION ---- */
.gbl-dash-hero {
    text-align: center;
    margin-bottom: 48px;
    animation: gblFadeSlide 0.6s ease both;
}

.gbl-dash-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #4ade80;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.gbl-dash-hero .hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.gbl-dash-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.gbl-dash-hero h1 .highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gbl-dash-hero .hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* ---- COUNTDOWN TIMER ---- */
.gbl-timer-wrap {
    background: rgba(15, 78, 179, 0.08);
    border: 1px solid rgba(15, 78, 179, 0.2);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    animation: gblFadeSlide 0.7s ease 0.1s both;
}

.gbl-timer-wrap::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(15,78,179,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.gbl-timer-label {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gbl-timer-label i {
    color: #60a5fa;
}

.gbl-timer-digits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gbl-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gbl-timer-block {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 16px 22px;
    min-width: 80px;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gbl-timer-block.tick {
    animation: timerTick 0.2s ease;
}

@keyframes timerTick {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); background: rgba(15, 78, 179, 0.2); }
    100% { transform: scale(1); }
}

.gbl-timer-sep {
    font-size: 36px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    margin-top: -16px;
    animation: sepBlink 1s ease-in-out infinite;
}

@keyframes sepBlink {
    0%, 100% { opacity: 0.2; }
    50%       { opacity: 0.7; }
}

.gbl-timer-unit-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- INFO CARD GRID ---- */
.gbl-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
    animation: gblFadeSlide 0.7s ease 0.2s both;
}

@media (max-width: 560px) {
    .gbl-info-grid { grid-template-columns: 1fr; }
}

.gbl-info-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.gbl-info-card:hover {
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.gbl-info-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.gbl-info-card .card-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.gbl-info-card .card-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.gbl-info-card .card-value a {
    color: #60a5fa;
    text-decoration: none;
}

.gbl-info-card .card-value a:hover {
    text-decoration: underline;
}

/* ---- SETUP PROGRESS SECTION ---- */
.gbl-setup-progress-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    animation: gblFadeSlide 0.7s ease 0.3s both;
}

.gbl-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.gbl-section-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.gbl-section-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Animated system steps */
.gbl-sys-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.gbl-sys-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, #0f4eb3, #ff5353, #a78bfa, #22c55e, #fbbf24);
    opacity: 0.2;
}

.gbl-sys-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    animation: stepReveal 0.5s ease both;
}

.gbl-sys-step:last-child { border-bottom: none; }

@keyframes stepReveal {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.sys-step-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sys-step-node.done {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    box-shadow: 0 0 16px rgba(34,197,94,0.2);
}

.sys-step-node.active {
    background: rgba(96,165,250,0.15);
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(96,165,250,0.3);
    animation: nodeGlow 2s ease-in-out infinite;
}

.sys-step-node.pending {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.25);
}

@keyframes nodeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(96,165,250,0.3); }
    50%       { box-shadow: 0 0 32px rgba(96,165,250,0.5); }
}

.sys-step-content {
    flex: 1;
    padding-top: 8px;
}

.sys-step-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.sys-step-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    line-height: 1.5;
}

.sys-step-status {
    padding-top: 8px;
    flex-shrink: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pill.done    { background: rgba(34,197,94,0.12);  color: #4ade80; }
.status-pill.active  { background: rgba(96,165,250,0.12); color: #93c5fd; }
.status-pill.pending { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.3); }

/* Spinning loader for active step */
.step-spinner {
    width: 10px;
    height: 10px;
    border: 1.5px solid rgba(147,197,253,0.3);
    border-top-color: #93c5fd;
    border-radius: 50%;
    animation: orbit 0.8s linear infinite;
}

/* ---- WHAT'S NEXT TIMELINE ---- */
.gbl-whats-next {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    animation: gblFadeSlide 0.7s ease 0.4s both;
}

.gbl-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding-left: 20px;
}

.gbl-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom,
        #0f4eb3 0%,
        #ff5353 50%,
        #22c55e 100%
    );
    opacity: 0.3;
}

.gbl-tl-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.gbl-tl-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: -18px;
}

.gbl-tl-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.gbl-tl-text span {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

/* ---- STATS ROW ---- */
.gbl-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    animation: gblFadeSlide 0.7s ease 0.5s both;
}

@media (max-width: 480px) {
    .gbl-stats-row { grid-template-columns: 1fr; }
}

.gbl-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gbl-stat-card .stat-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(20px);
}

.gbl-stat-card .stat-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.gbl-stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.gbl-stat-card .stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---- SUPPORT FOOTER ---- */
.gbl-dash-footer {
    text-align: center;
    animation: gblFadeSlide 0.7s ease 0.6s both;
}

.gbl-dash-footer p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
}

.gbl-dash-footer .support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s;
}

.gbl-dash-footer .support-link:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}

/* ---- FLOATING AMBIENT GLOWS ---- */
.gbl-ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: ambientFloat ease-in-out infinite;
}

@keyframes ambientFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 10px) scale(0.95); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .gbl-dash-inner { padding: 24px 16px 60px; }
    .gbl-info-grid, .gbl-timer-digits { gap: 12px; }
    .gbl-timer-block { font-size: 30px; min-width: 64px; padding: 12px 16px; }
    .gbl-setup-progress-section, .gbl-whats-next, .gbl-timer-wrap { padding: 20px; }
    .gbl-stats-row { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   MENU UPLOAD FIELD
============================================= */
.gbl-upload-optional {
    margin-left: 8px;
    display: inline-block;
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    vertical-align: middle;
}

/* Drop Zone */
#gbl-drop-zone {
    position: relative;
    width: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    outline: none;
}

#gbl-drop-zone:hover,
#gbl-drop-zone:focus {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(96, 165, 250, 0.04);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.08);
}

#gbl-drop-zone.gbl-dz-dragging {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.08);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15), 0 0 40px rgba(96, 165, 250, 0.1);
    transform: scale(1.01);
}

.gbl-dz-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 28px;
    gap: 6px;
}

/* Upload icon ring */
.gbl-dz-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.08);
    border: 2px solid rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #60a5fa;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    animation: uploadPulse 3s ease-in-out infinite;
}

@keyframes uploadPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(96,165,250,0.2);
        border-color: rgba(96, 165, 250, 0.2);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(96,165,250,0);
        border-color: rgba(96, 165, 250, 0.4);
    }
}

.gbl-dz-icon-ring--active {
    background: rgba(96, 165, 250, 0.18);
    border-color: #60a5fa;
    color: #93c5fd;
    animation: uploadBounce 0.6s ease infinite alternate;
}

@keyframes uploadBounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-5px); }
}

.gbl-dz-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.gbl-dz-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.gbl-dz-browse {
    color: #60a5fa;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gbl-dz-formats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

.gbl-dz-formats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
}

.gbl-dz-formats span i {
    font-size: 12px;
}

.gbl-dz-formats span:nth-child(1) i { color: #f59e0b; }
.gbl-dz-formats span:nth-child(2) i { color: #ef4444; }
.gbl-dz-formats span:nth-child(3) i { color: #3b82f6; }
.gbl-dz-formats span:nth-child(4) i { color: #8b5cf6; }

.gbl-dz-limit {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gbl-dz-limit strong {
    color: rgba(255, 255, 255, 0.5);
}

/* Drag-over hover state */
.gbl-dz-hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    gap: 10px;
    animation: gblFadeIn 0.15s ease;
}

/* File list */
.gbl-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.gbl-file-list::-webkit-scrollbar { width: 4px; }
.gbl-file-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.gbl-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 14px;
    animation: gblFadeSlide 0.25s ease both;
    transition: background 0.2s;
}

.gbl-file-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.gbl-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.gbl-file-info {
    flex: 1;
    min-width: 0;
}

.gbl-file-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.gbl-file-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.gbl-file-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 83, 83, 0.1);
    border: 1px solid rgba(255, 83, 83, 0.2);
    color: #ff7070;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.gbl-file-remove:hover {
    background: rgba(255, 83, 83, 0.2);
    color: #ff5353;
    transform: scale(1.08);
}

/* Upload size summary / progress */
.gbl-upload-summary {
    margin-top: 10px;
    padding: 12px 0 0;
}

.gbl-upload-bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gbl-upload-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    width: 0%;
    transition: width 0.4s ease;
}

.gbl-upload-bar-fill.danger {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.gbl-upload-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
}

#gbl-upload-count {
    color: rgba(255, 255, 255, 0.4);
}

#gbl-upload-size {
    color: rgba(255, 255, 255, 0.35);
}

#gbl-upload-size.danger {
    color: #f87171;
}

/* =============================================
   DASHBOARD — MENU FILES SECTION
============================================= */
.gbl-menu-files-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(251, 146, 60, 0.12);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    animation: gblFadeSlide 0.7s ease 0.35s both;
}

.gbl-dash-file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.gbl-dash-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.gbl-dash-file-item:hover {
    background: rgba(251, 146, 60, 0.07);
    border-color: rgba(251, 146, 60, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.gbl-dash-file-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.gbl-dash-file-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gbl-dash-file-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gbl-dash-file-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.gbl-dash-file-link {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: color 0.2s;
}

.gbl-dash-file-item:hover .gbl-dash-file-link {
    color: #fb923c;
}
