/* Haupt-Container */
.sbhh_teams_raum_button_wrapper {
    display: block;
}

.sbhh_teams_raum_button_base {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 5px;
}

.sbhh_teams_raum_button_geschlossen {
    /* font-style: italic; */
    color: var(--global-palette12);
    font-size: 0.9em;
}

.sbhh_teams_raum_button_beendet {
    color: green;
    font-size: 0.9em;
}

.sbhh_teams_raum_button_checked {
    color: green;
    font-weight: bold;
    font-size: 1.0em;
    vertical-align: middle;
    text-shadow: 1px 1px green;
}

.sbhh_teams_raum_button_active {
    color: #ffffff !important;
    background-size: 0 0 !important;
}

.sbhh_teams_raum_button_active:hover,
.sbhh_teams_raum_button_active:focus,
.sbhh_teams_raum_button_active:active {
    color: var(--global-palette1) !important;
}

.sbhh_teams_raum_button_disabled {
    padding: 7px 25px;
    background-color: #f2f2f2;
    color: #666666 !important;
    cursor: not-allowed;
    border: 2px solid #ccc;
    font-size: 16px;
    border-radius: 3px;
    min-width: 250px;
}

/* Fortschrittsanzeiger Container */
.sbhh_teams_raum_button_progress_container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 15px;
    background: #eee;
    border-radius: 6px;
    display: flex;
    overflow: hidden; /* Damit die Segmente an den Ecken abgerundet bleiben */
    margin-top: 8px;
}

/* Die Segmente (Berechnet auf 75 Min Gesamtdauer) */
/* 15 Min - Hellblau */
.sbhh_teams_raum_button_seg_pre {
    width: 20%;
    background-color: #add8e6;
}

/* 30 Min - Hellgrün */
.sbhh_teams_raum_button_seg_live1 {
    width: 40%;
    background-color: #90ee90;
}

/* 30 Min - Rot */
.sbhh_teams_raum_button_seg_live2 {
    width: 40%;
    background-color: #ff6347;
}

/* Der Zeiger (Marker) */
.sbhh_teams_raum_button_pointer {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 20px;
    background-color: #333;
    border-radius: 2px;
    transition: left 0.5s linear;
    z-index: 10;
}

.sbhh_teams_raum_button_status {
    font-size: 0.85em;
    margin-top: 8px;
    display: block;
}


/* Flipclock Design */
.sbhh_teams_flip_container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    margin-top: 10px;
}

.sbhh_teams_flip_group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sbhh_teams_flip_label {
    font-size: 0.7em;
    color: #666;
    text-transform: uppercase;
    margin-top: 5px;
}

.sbhh_teams_flip_digits {
    display: flex;
    gap: 2px;
}

@media only screen and (max-width: 800px) {
    .sbhh_teams_flip_open_in {
        width: 100%;
    }
}

.sbhh_teams_flip_card {
    background: #333;
    color: #666;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 1), -1px -1px 1px rgba(0, 0, 0, 0.2);
    padding: 4px 6px;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: bold;
    min-width: 28px;
    text-align: center;
    position: relative;
    border: 1px solid #c3c3c3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(180deg, #eceaea 0%, #eaeaea 25%, #d9d9d9 50%, #cfcfcf 100%)
}