html,
body {
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #172033;
}

a,
.btn-link {
    color: #075ca8;
}

.btn-primary {
    color: #fff;
    background-color: #145da0;
    border-color: #145da0;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #80add8;
}

.poc-shell {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 32px 0;
}

.poc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.poc-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.poc-header p {
    margin: 6px 0 0;
    color: #5b667a;
}

.poc-panel {
    background: #fff;
    border: 1px solid #dce3ee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(18, 38, 63, 0.05);
}

.narrow-panel {
    max-width: 480px;
}

.poc-dashboard {
    display: grid;
    gap: 18px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.label {
    display: block;
    margin-bottom: 4px;
    color: #5b667a;
    font-size: 0.85rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.full-row {
    grid-column: 1 / -1;
}

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

.section-heading h2,
.poc-panel h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.empty {
    margin: 0;
    color: #5b667a;
}

.small-id {
    max-width: 220px;
    word-break: break-all;
    color: #5b667a;
    font-size: 0.84rem;
}

.table-actions {
    white-space: nowrap;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

@media (max-width: 900px) {
    .dashboard-grid,
    .event-form {
        grid-template-columns: 1fr;
    }

    .poc-header {
        flex-direction: column;
    }
}
