/* Dashboard de administração: complementos ao tema do MudBlazor (DashboardTheme.cs). */

html, body {
    background: #0F1116;
    color: #E8E6E3;
}

.boot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 0.5rem;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.boot-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #E3A33B;
    letter-spacing: 0.04em;
}

.boot-text {
    color: #A3A7B0;
}

#blazor-error-ui {
    background: #3A1F1F;
    color: #F3D9D6;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui a {
    color: #E3A33B;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Números grandes dos cartões da visão geral. */
.stat-value {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: #A3A7B0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.muted {
    color: #A3A7B0;
}

.mono {
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
    font-size: 0.85em;
}

.num {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Gráfico de barras por dia (sem biblioteca de gráficos: barras em CSS). */
.daily-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 120px;
    padding-top: 4px;
}

.daily-bars .bar {
    flex: 1 1 0;
    min-width: 3px;
    background: #E3A33B;
    border-radius: 2px 2px 0 0;
    opacity: 0.85;
}

.daily-bars .bar.secondary {
    background: #5FB3A1;
}

.daily-bars .bar:hover {
    opacity: 1;
}

.daily-bars .bar.zero {
    background: #262A33;
    height: 2px !important;
}

.daily-axis {
    display: flex;
    justify-content: space-between;
    color: #7D828C;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* Barras horizontais (distribuições). */
.hbar-row {
    display: grid;
    grid-template-columns: minmax(90px, 30%) 1fr 48px;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 0.875rem;
}

.hbar-track {
    background: #20242C;
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
}

.hbar-fill {
    background: #5FB3A1;
    height: 100%;
    border-radius: 4px;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.status-dot.on {
    background: #4CAF7D;
    box-shadow: 0 0 6px #4CAF7D;
}

.status-dot.off {
    background: #5A5F69;
}

.status-dot.bad {
    background: #E05A4F;
    box-shadow: 0 0 6px #E05A4F;
}

.clickable-row {
    cursor: pointer;
}

/* Prévia do anúncio como aparece no jogo. */
.announce-preview {
    background: linear-gradient(90deg, rgba(227, 163, 59, 0.15), rgba(227, 163, 59, 0.03));
    border: 1px solid rgba(227, 163, 59, 0.45);
    border-radius: 8px;
    padding: 10px 14px;
    color: #F5D79A;
    font-weight: 600;
    text-align: center;
}
