/* ============================================
   Fallseminar Format-Auswahl & Fortschritt
   ============================================ */

/* Format-Auswahl im Buchungsmodal */
.bssh-format-auswahl {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.bssh-format-auswahl .format-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.bssh-format-auswahl .format-option {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bssh-format-auswahl .format-option:hover {
    border-color: #2e7d32;
    background: #f1f8f4;
}

.bssh-format-auswahl .format-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.bssh-format-auswahl .format-option input[type="radio"]:checked + .format-label {
    font-weight: bold;
    color: #2e7d32;
}

.bssh-format-auswahl .format-option input[type="radio"]:disabled {
    cursor: not-allowed;
}

.bssh-format-auswahl .format-option:has(input[type="radio"]:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.bssh-format-auswahl .format-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.bssh-format-auswahl .format-availability {
    margin-left: auto;
    font-size: 12px;
    font-weight: bold;
}

/* Getrennte Kapazitätsanzeige */
.plaetze-frei-split {
    display: flex;
    gap: 15px;
    align-items: center;
}

.plaetze-frei-split .praesenz-info,
.plaetze-frei-split .online-info {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.plaetze-frei-split .verfuegbar {
    color: #2e7d32;
    background: #e8f5e9;
}

.plaetze-frei-split .belegt {
    color: #d32f2f;
    background: #ffebee;
}

/* Prioritäts-Badges */
.rot-badge.priority-active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.rot-badge.priority-expired {
    opacity: 0.6;
}

/* Fortschrittsbalken responsive */
@media (max-width: 768px) {
    .bssh-seminar-progress > div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .bssh-format-auswahl .format-options {
        flex-direction: column;
    }
}
