/* BuehnenKonsole – Bühnen-Styling */

/* Schriftgrössen-Variable für A+/A- Skalierung */
:root {
    --buehne-schriftgroesse: 1.2rem;
}

.buehne-inhaltsbereich {
    font-size: var(--buehne-schriftgroesse);
}

/* Große Pagination-Balken links/rechts */
.buehne-pagination-btn {
    min-width: 80px;
    height: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    background: #1976D2;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
    color: white;
    flex-shrink: 0;
}

.buehne-pagination-btn:hover:not(:disabled) {
    background: #1565C0;
}

.buehne-pagination-btn:disabled {
    background: #cdd8e8;
    color: #a0aec0;
    cursor: not-allowed;
}

/* Fragetext – farblich abgesetzt */
.buehne-frage-text {
    background: #e8f0fe;
    border-left: 4px solid #4a90d9;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 8px 0;
    font-size: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Interne Notiz – kursiv, rot, kleiner */
.buehne-notiz {
    font-style: italic;
    color: #c0392b;
    font-size: 0.88em;
    padding: 6px 12px;
    background: #fdf3f3;
    border-left: 3px solid #e74c3c;
    border-radius: 3px;
    margin: 6px 0;
}

/* Einzeilige Meta-Zeile über dem Frageninhalt */
.buehne-meta-zeile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.buehne-meta-status-badge {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    padding: 10px 22px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.buehne-meta-wortmeldung-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3a6b;
}

.buehne-meta-nummer {
    font-size: 0.85em;
    color: #888;
}

.buehne-meta-titel {
    font-weight: bold;
    color: #1a3a6b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.buehne-meta-wortmeldung {
    white-space: nowrap;
    color: #444;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buehne-meta-sep {
    color: #bbb;
    flex-shrink: 0;
}

.buehne-meta-zaehler {
    margin-left: auto;
    font-size: 0.85em;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 12px;
}

/* Antworttext */
.buehne-antwort-text {
    background: #f0f9f0;
    border-left: 4px solid #27ae60;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 8px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Fortschritts-Slider am unteren Rand */
.buehne-aktionsleiste {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-top: 2px solid #ddd;
    flex-shrink: 0;
}

.buehne-rueckgabe-btn {
    padding: 10px 22px;
    background: #757575;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.buehne-rueckgabe-btn:hover {
    background: #616161;
}

.buehne-slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.buehne-slider-label {
    font-size: 1.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Eilmeldungs-Banner */
.eilmeldung-banner {
    background: #fff3cd;
    border: 2px solid #f39c12;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: blinken 1.2s ease-in-out infinite;
}

.eilmeldung-banner strong {
    color: #856404;
}

@keyframes blinken {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Status-Banner */
.buehne-status-banner {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 1.05em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    margin-right: 8px;
}

/* Rednerliste – farbiger Statuspunkt */
.status-punkt {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Rednerliste – aktueller Redner-Markierung */
.aktiver-redner-row {
    background: #fffbcc !important;
    font-weight: bold;
}

/* Vollbild-Tabelle in Rednerliste */
.buehne-rednerliste-container {
    height: calc(100vh - 120px);
    overflow: auto;
    font-size: var(--buehne-schriftgroesse, 1.2rem);
}

.buehne-rednerliste-container .k-grid td,
.buehne-rednerliste-container .k-grid th {
    font-size: var(--buehne-schriftgroesse, 1.2rem);
}

.buehne-rednerliste-container .k-grid tr {
    height: calc(var(--buehne-schriftgroesse, 1.2rem) * 3.5);
}

.buehne-rednerliste-container .k-grid td {
    vertical-align: middle;
}
