body {
    margin-bottom: 2rem;
}

header nav form {
    margin: 0;
}

article.error {
    background: #ffe2e2;
    border: 1px solid #d33;
    color: #a00;
}

article.success {
    background: #e7f6ec;
    border: 1px solid #2f7a3f;
    color: #215a2f;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.capacity-field {
    max-width: 200px;
}

.actions {
    margin: 0.5rem 0;
}

.paid-cell {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.paid-cell .tag {
    display: inline-block;
    min-width: 5.5rem;
    text-align: center;
}

.paid-toggle {
    min-width: 9rem;
}

.status-lamp {
    font-weight: 600;
    border-radius: 999px;
}

.paid-lamp {
    background: #1f8f3a;
    color: #fff;
}

.unpaid-lamp {
    background: #e7b416;
    color: #1d1a00;
}

.fan-badge {
    background: #1f8f3a;
    color: #fff;
}

.actions-menu summary {
    cursor: pointer;
    font-weight: 600;
}

.actions-menu form {
    margin: 0.25rem 0;
}

.actions-inline {
    display: grid;
    gap: 0.5rem;
}

.actions-menu[open] .actions-inline {
    background: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.info-banner {
    background: #f6f2d4;
    border: 1px solid #e1d89a;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin: 0.75rem 0;
    color: #1b1b1b;
}

.public-logo {
    display: block;
    max-width: 240px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem auto;
}

.hint,
.facebook-note {
    color: #1e1e1e;
    font-size: 0.95rem;
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    display: inline-block;
}

.actions-inline input,
.actions-inline select {
    width: 100%;
}

.fan-icon {
    display: inline;
    margin-left: 0.35em;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    line-height: 1;
    font-size: 1em;
    vertical-align: baseline;
}

@media (prefers-color-scheme: dark) {
    .hint,
    .facebook-note {
        color: #f2f2f2;
        background: #2a2a2a;
        border-color: #444;
    }
}

.facebook-rule {
    margin-top: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 235, 59, 0.18) !important;
    color: #111 !important;
    font-weight: 600;
    line-height: 1.35;
    text-wrap: balance;
}

@media (prefers-color-scheme: dark) {
    .facebook-rule {
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 235, 59, 0.22) !important;
        color: #fff !important;
    }
}
