@import '_content/Formaze.Blazor.MudBlazor/Formaze.Blazor.MudBlazor.c1z0geevd7.bundle.scp.css';

/* /Components/Pages/Dashboard/Dashboard.razor.rz.scp.css */
/* ============ BASE ============ */
.event-dashboard[b-gje44mr6ck] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    background: #f6f8fb;
    min-height: 100vh;
}

/* ============ LOADING ============ */
.loading-state[b-gje44mr6ck] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 16px;
    color: #6b7280;
}

.spinner[b-gje44mr6ck] {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin-b-gje44mr6ck 0.8s linear infinite;
}

@keyframes spin-b-gje44mr6ck {
    to {
        transform: rotate(360deg);
    }
}

/* ============ HERO ============ */
.hero[b-gje44mr6ck] {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    border-radius: 20px;
    color: #fff;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.poster-gallery[b-gje44mr6ck] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.poster-img[b-gje44mr6ck] {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.hero-content[b-gje44mr6ck] {
    padding: 28px 32px 32px;
}

.hero-top[b-gje44mr6ck] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.status-badge[b-gje44mr6ck] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

    .status-badge .dot[b-gje44mr6ck] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    .status-badge.open .dot[b-gje44mr6ck] {
        background: #22c55e;
    }

    .status-badge.closed .dot[b-gje44mr6ck] {
        background: #ef4444;
    }

.event-title[b-gje44mr6ck] {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.event-desc[b-gje44mr6ck] {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 24px;
    max-width: 800px;
    white-space: pre-line;
}

.period-info[b-gje44mr6ck] {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.12);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: fit-content;
    max-width: 100%;
}

.period-item[b-gje44mr6ck] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .period-item .label[b-gje44mr6ck] {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.8;
    }

    .period-item .value[b-gje44mr6ck] {
        font-size: 14px;
        font-weight: 600;
    }

.period-divider[b-gje44mr6ck] {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
}

/* ============ STATS ============ */
.stats-grid[b-gje44mr6ck] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card[b-gje44mr6ck] {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .stat-card:hover[b-gje44mr6ck] {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    }

    .stat-card.revenue[b-gje44mr6ck] {
        border-left-color: #059669;
    }

    .stat-card.success[b-gje44mr6ck] {
        border-left-color: #2563eb;
    }

    .stat-card.pending[b-gje44mr6ck] {
        border-left-color: #f59e0b;
    }

    .stat-card.total[b-gje44mr6ck] {
        border-left-color: #7c3aed;
    }

.stat-icon[b-gje44mr6ck] {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    border-radius: 14px;
    flex-shrink: 0;
}

.stat-info[b-gje44mr6ck] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.stat-label[b-gje44mr6ck] {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.stat-value[b-gje44mr6ck] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    word-break: break-word;
}

/* ============ CONTENT GRID ============ */
.content-grid[b-gje44mr6ck] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* ============ PANEL ============ */
.panel[b-gje44mr6ck] {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.panel-header[b-gje44mr6ck] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

    .panel-header h2[b-gje44mr6ck] {
        font-size: 1.15rem;
        font-weight: 700;
        margin: 0;
        color: #111827;
    }

.panel-subtitle[b-gje44mr6ck] {
    font-size: 13px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 999px;
}

/* ============ TICKETS ============ */
.ticket-list[b-gje44mr6ck] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ticket-item[b-gje44mr6ck] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-head[b-gje44mr6ck] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.ticket-name[b-gje44mr6ck] {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.ticket-count[b-gje44mr6ck] {
    font-size: 0.9rem;
    color: #6b7280;
}

    .ticket-count strong[b-gje44mr6ck] {
        color: #2563eb;
        font-weight: 700;
    }

.progress-bar[b-gje44mr6ck] {
    height: 10px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill[b-gje44mr6ck] {
    height: 100%;
    border-radius: 999px;
    transition: width 0.6s ease;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

    .progress-fill.warning[b-gje44mr6ck] {
        background: linear-gradient(90deg, #fbbf24, #f59e0b);
    }

    .progress-fill.critical[b-gje44mr6ck] {
        background: linear-gradient(90deg, #f87171, #ef4444);
    }

.ticket-meta[b-gje44mr6ck] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
}

/* ============ CHART ============ */
.chart[b-gje44mr6ck] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    height: 260px;
    padding-top: 12px;
}

.chart-col[b-gje44mr6ck] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 6px;
    min-width: 0;
}

.chart-value[b-gje44mr6ck] {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    height: 18px;
}

.chart-bar-wrap[b-gje44mr6ck] {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.chart-bar[b-gje44mr6ck] {
    width: 70%;
    max-width: 42px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    border-radius: 8px 8px 0 0;
    transition: height 0.6s ease;
    min-height: 4px;
}

.chart-col:hover .chart-bar[b-gje44mr6ck] {
    background: linear-gradient(180deg, #818cf8, #4f46e5);
}

.chart-label[b-gje44mr6ck] {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* ============ BANK ============ */
.bank-panel[b-gje44mr6ck] {
    margin-top: 0;
}

.bank-grid[b-gje44mr6ck] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.bank-item[b-gje44mr6ck] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.bank-label[b-gje44mr6ck] {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-value[b-gje44mr6ck] {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    word-break: break-all;
}

.mono[b-gje44mr6ck] {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* ============ EMPTY ============ */
.empty-state[b-gje44mr6ck] {
    text-align: center;
    color: #9ca3af;
    padding: 40px 16px;
    font-size: 0.95rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .content-grid[b-gje44mr6ck] {
        grid-template-columns: 1fr;
    }

    .poster-img[b-gje44mr6ck] {
        height: 120px;
    }
}

@media (max-width: 640px) {
    .event-dashboard[b-gje44mr6ck] {
        padding: 16px 12px 32px;
    }

    .hero-content[b-gje44mr6ck] {
        padding: 20px;
    }

    .poster-gallery[b-gje44mr6ck] {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    }

    .poster-img[b-gje44mr6ck] {
        height: 100px;
    }

    .stats-grid[b-gje44mr6ck] {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card[b-gje44mr6ck] {
        padding: 16px;
        gap: 12px;
    }

    .stat-icon[b-gje44mr6ck] {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .stat-value[b-gje44mr6ck] {
        font-size: 1.15rem;
    }

    .period-info[b-gje44mr6ck] {
        width: 100%;
        justify-content: space-between;
    }

    .chart[b-gje44mr6ck] {
        height: 200px;
        gap: 4px;
    }

    .chart-label[b-gje44mr6ck] {
        font-size: 10px;
    }

    .panel[b-gje44mr6ck] {
        padding: 18px;
    }
}

@media (max-width: 380px) {
    .stats-grid[b-gje44mr6ck] {
        grid-template-columns: 1fr;
    }
}
