/* /Components/AttractionCard.razor.rz.scp.css */
.attraction-card[b-srqw6gzx9a] {
    display: flex;
    flex-direction: column;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

    .attraction-card:hover[b-srqw6gzx9a] {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.5);
        border-color: rgba(99,102,241,0.4);
    }

    /* Dimmed variant for Down/Closed */
    .attraction-card.card-dim[b-srqw6gzx9a] {
        opacity: 0.55;
        border-color: rgba(239,68,68,0.2);
    }

    /* Subtle warm tint for Refurbishment */
    .attraction-card.card-refurb[b-srqw6gzx9a] {
        border-color: rgba(251,191,36,0.25);
        background: #1e2530;
    }

/* Card top: name + status badge */
.card-top[b-srqw6gzx9a] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1rem 0.6rem;
}

.card-name[b-srqw6gzx9a] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.3;
}

/* ── Status badges ───────────────────────────────────────────────────── */
.status-badge[b-srqw6gzx9a] {
    flex-shrink: 0;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.badge-operating[b-srqw6gzx9a] { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.badge-down[b-srqw6gzx9a]      { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.badge-closed[b-srqw6gzx9a]    { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.badge-refurb[b-srqw6gzx9a]    { background: rgba(251,191,36,0.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.badge-unknown[b-srqw6gzx9a]   { background: rgba(148,163,184,0.15); color: #94a3b8; border: 1px solid rgba(148,163,184,0.3); }

/* ── Metrics section ─────────────────────────────────────────────────── */
.card-metrics[b-srqw6gzx9a] {
    display: flex;
    align-items: stretch;
    flex: 1;
    padding: 0.6rem 1rem;
    gap: 0;
}

.metric[b-srqw6gzx9a] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label[b-srqw6gzx9a] {
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.metric-divider[b-srqw6gzx9a] {
    width: 1px;
    background: rgba(255,255,255,0.07);
    margin: 0 0.75rem;
    flex-shrink: 0;
}

.metric-value[b-srqw6gzx9a] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

/* Standby wait */
.wait-value[b-srqw6gzx9a] {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.wait-number[b-srqw6gzx9a] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.wait-unit[b-srqw6gzx9a] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}

.na-value[b-srqw6gzx9a] {
    color: #475569;
    font-size: 1rem;
}

/* ── Trend arrows ────────────────────────────────────────────────────── */
.trend-arrow[b-srqw6gzx9a]   { font-size: 0.85rem; font-weight: 700; line-height: 1; }
.trend-up[b-srqw6gzx9a]      { color: #f87171; } /* wait rising  → bad → red   */
.trend-down[b-srqw6gzx9a]    { color: #4ade80; } /* wait falling → good → green */
.trend-neutral[b-srqw6gzx9a] { color: #475569; }

/* ── Lightning Lane time ─────────────────────────────────────────────── */
.ll-value[b-srqw6gzx9a]     { font-size: 1.1rem; font-weight: 700; }
.ll-available[b-srqw6gzx9a] { color: #38bdf8; }
.ll-finished[b-srqw6gzx9a]  { color: #475569; }
.ll-full[b-srqw6gzx9a]      { color: #f87171; }

/* ── Sparkline ───────────────────────────────────────────────────────── */
.sparkline-container[b-srqw6gzx9a] {
    padding: 0 0.75rem 0.5rem;
}

.sparkline-svg[b-srqw6gzx9a] {
    display: block;
    width: 100%;
    height: 40px;
    overflow: visible;
}

.sparkline-line[b-srqw6gzx9a] {
    fill: none;
    stroke: #6366f1;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sparkline-fill[b-srqw6gzx9a] {
    fill: rgba(99, 102, 241, 0.12);
    stroke: none;
}

/* ── Card footer ─────────────────────────────────────────────────────── */
.card-footer[b-srqw6gzx9a] {
    padding: 0.5rem 1rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.updated-chip[b-srqw6gzx9a] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    color: #475569;
}

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-u43xu6psxk] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-u43xu6psxk] {
    flex: 1;
}

.sidebar[b-u43xu6psxk] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-u43xu6psxk] {
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-u43xu6psxk]  a, .top-row[b-u43xu6psxk]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-u43xu6psxk]  a:hover, .top-row[b-u43xu6psxk]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-u43xu6psxk]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-u43xu6psxk] {
        justify-content: space-between;
    }

    .top-row[b-u43xu6psxk]  a, .top-row[b-u43xu6psxk]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-u43xu6psxk] {
        flex-direction: row;
    }

    .sidebar[b-u43xu6psxk] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-u43xu6psxk] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-u43xu6psxk]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-u43xu6psxk], article[b-u43xu6psxk] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pn3rgxk4il] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-pn3rgxk4il] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-pn3rgxk4il] {
    font-size: 1.1rem;
}

.bi[b-pn3rgxk4il] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-pn3rgxk4il] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-pn3rgxk4il] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-pn3rgxk4il] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-pn3rgxk4il] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pn3rgxk4il] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pn3rgxk4il] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pn3rgxk4il]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-pn3rgxk4il]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-pn3rgxk4il]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pn3rgxk4il] {
        display: none;
    }

    .collapse[b-pn3rgxk4il] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-pn3rgxk4il] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* ── Dashboard shell ─────────────────────────────────────────────────── */
.dashboard[b-xgm7u9we33] {
    padding: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.dashboard-header[b-xgm7u9we33] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-title[b-xgm7u9we33] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lightning-icon[b-xgm7u9we33] {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px #fbbf24);
}

.park-name[b-xgm7u9we33] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.2;
}

.park-subtitle[b-xgm7u9we33] {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header-actions[b-xgm7u9we33] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.last-updated[b-xgm7u9we33] {
    font-size: 0.8rem;
    color: #64748b;
}

.refresh-btn[b-xgm7u9we33] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: #1e40af;
    color: #e0f2fe;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

    .refresh-btn:hover:not(:disabled)[b-xgm7u9we33] {
        background: #2563eb;
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
    }

    .refresh-btn:disabled[b-xgm7u9we33] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Inline spinner for the Refresh button */
.btn-spinner[b-xgm7u9we33] {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid #93c5fd;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-b-xgm7u9we33 0.7s linear infinite;
}

@keyframes spin-b-xgm7u9we33 {
    to { transform: rotate(360deg); }
}

/* ── Error banner ────────────────────────────────────────────────────── */
.error-banner[b-xgm7u9we33] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.4);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 0.9rem;
}

/* ── Loading state ───────────────────────────────────────────────────── */
.loading-state[b-xgm7u9we33] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 5rem 0;
    color: #64748b;
}

.spinner-ring[b-xgm7u9we33] {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(99,102,241,0.25);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin-b-xgm7u9we33 0.9s linear infinite;
}

/* ── Stats bar ───────────────────────────────────────────────────────── */
.stats-bar[b-xgm7u9we33] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-pill[b-xgm7u9we33] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    min-width: 110px;
}

.stat-value[b-xgm7u9we33] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.stat-operating[b-xgm7u9we33] { color: #4ade80; }
.stat-down[b-xgm7u9we33]      { color: #f87171; }
.stat-refurb[b-xgm7u9we33]    { color: #fbbf24; }

.stat-label[b-xgm7u9we33] {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 0.2rem;
}

/* ── Attraction grid ─────────────────────────────────────────────────── */
.attraction-grid[b-xgm7u9we33] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* ── Empty state ─────────────────────────────────────────────────────── */
.empty-state[b-xgm7u9we33] {
    text-align: center;
    padding: 5rem 0;
    color: #64748b;
}

/* ── WebSocket connection status pill ────────────────────────────────── */
.ws-pill[b-xgm7u9we33] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    user-select: none;
    white-space: nowrap;
}

.ws-dot[b-xgm7u9we33] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Connected — green */
.ws-pill--connected[b-xgm7u9we33] {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.25);
}

.ws-pill--connected .ws-dot[b-xgm7u9we33] { background: #4ade80; }

/* Disconnected — red */
.ws-pill--disconnected[b-xgm7u9we33] {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.25);
}

.ws-pill--disconnected .ws-dot[b-xgm7u9we33] { background: #f87171; }

/* Connecting / Reconnecting — amber with pulsing dot */
.ws-pill--connecting[b-xgm7u9we33],
.ws-pill--reconnecting[b-xgm7u9we33] {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.25);
}

.ws-pill--connecting .ws-dot[b-xgm7u9we33],
.ws-pill--reconnecting .ws-dot[b-xgm7u9we33] {
    background: #fbbf24;
    animation: ws-pulse-b-xgm7u9we33 1.2s ease-in-out infinite;
}

@keyframes ws-pulse-b-xgm7u9we33 {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

