/*
|--------------------------------------------------------------------------
| RAUMUNA – FRONTEND
|--------------------------------------------------------------------------
*/

.rb-booking-app {
    max-width: 1500px;
    margin: 0 auto;
    color: #1d2327;
}

.rb-booking-app *,
.rb-booking-app *::before,
.rb-booking-app *::after {
    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| DASHBOARD HEADER
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 18px;
    padding: 18px 20px;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 14px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .03);
}

.rb-booking-app .rb-booking-dashboard-title h2 {
    margin: 0 0 4px;

    color: #1d2327;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.rb-booking-app .rb-booking-dashboard-title p {
    margin: 0;

    color: #646970;

    font-size: 13px;
    line-height: 1.4;
}


/*
|--------------------------------------------------------------------------
| DATUM
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-dashboard-date {
    flex: 0 0 auto;

    min-width: 180px;
}

.rb-booking-app .rb-booking-dashboard-date label {
    display: block;

    margin: 0 0 5px;

    color: #646970;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.rb-booking-app
.rb-booking-dashboard-date
input[type="date"] {

    width: 100%;
    min-height: 40px;

    padding: 6px 10px;

    background: #f6f7f7;

    border: 1px solid #dcdcde;
    border-radius: 8px;

    color: #1d2327;

    font-size: 13px;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| HAUPTLAYOUT
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-dashboard {
    display: grid;

    grid-template-columns:
        minmax(250px, 310px)
        minmax(0, 1fr);

    gap: 18px;

    align-items: start;
}


/*
|--------------------------------------------------------------------------
| SIDEBAR
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-sidebar {
    min-width: 0;

    padding: 0;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 14px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .03);

    overflow: hidden;
}

.rb-booking-app .rb-booking-sidebar-header {
    padding: 17px 18px 14px;

    border-bottom: 1px solid #f0f0f1;
}

.rb-booking-app .rb-booking-sidebar-header h3 {
    margin: 3px 0 0;

    font-size: 17px;
    line-height: 1.3;
}

.rb-booking-app .rb-booking-sidebar-label {
    display: block;

    margin: 0;

    color: #8c8f94;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .08em;
}


/*
|--------------------------------------------------------------------------
| STANDORT- UND ETAGENFILTER
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-filter {
    display: grid;

    gap: 13px;

    margin: 0;
    padding: 15px 18px;

    border-bottom: 1px solid #f0f0f1;
}

.rb-booking-app .rb-booking-filter-field {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.rb-booking-app .rb-booking-filter-field label {
    margin: 0;

    color: #646970;

    font-size: 11px;
    font-weight: 600;
}

.rb-booking-app .rb-booking-filter-field select {
    width: 100%;
    min-height: 38px;

    padding: 7px 34px 7px 10px;

    background: #ffffff;

    border: 1px solid #dcdcde;
    border-radius: 8px;

    color: #1d2327;

    font-size: 13px;

    cursor: pointer;
}

.rb-booking-app .rb-booking-filter-field select:hover {
    border-color: #2563eb;
}

.rb-booking-app .rb-booking-filter-field select:focus {
    border-color: #2563eb;

    outline: 2px solid rgba(34, 113, 177, .15);
    outline-offset: 1px;
}


/*
|--------------------------------------------------------------------------
| RAUMLISTE
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-locations {
    padding: 12px;
}


/*
 * Gebäude- und Etagenüberschriften werden
 * nicht benötigt, da Standort und Etage
 * bereits über Dropdowns gewählt werden.
 */

.rb-booking-app
.rb-booking-sidebar
.rb-booking-building-header,

.rb-booking-app
.rb-booking-sidebar
.rb-booking-floor-title {

    display: none;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-building {

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-floor {

    margin: 0;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-rooms {

    display: flex;
    flex-direction: column;

    gap: 7px;
}


/*
|--------------------------------------------------------------------------
| RAUM
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room {

    position: relative;

    display: grid;

    grid-template-columns:
        10px
        28px
        minmax(0, 1fr);

    grid-template-rows:
        auto
        auto;

    column-gap: 9px;
    row-gap: 5px;

    align-items: center;

    width: 100%;

    margin: 0;
    padding: 10px 11px;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 9px;

    color: #1d2327;

    text-align: left;

    cursor: pointer;

    transition:
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room:hover {

    background: #f6f7f7;

    border-color: #8c8f94;

    box-shadow: none;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-active {

    background: #f0f6fc;

    border-color: #2563eb;

    box-shadow:
        inset 3px 0 0 #2563eb;
}


/*
|--------------------------------------------------------------------------
| RAUM-AMPEL
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room::before {

    content: "";

    grid-column: 1;
    grid-row: 1 / 3;

    align-self: center;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #c3c4c7;

    box-shadow:
        0 0 0 3px rgba(195, 196, 199, .18);
}


/*
 * Raum mit freien Plätzen
 */

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room:has(
    .rb-room-availability-free
)::before {

    background: #46b450;

    box-shadow:
        0 0 0 3px rgba(70, 180, 80, .15);
}


/*
 * Vollständig belegt
 */

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-full::before {

    background: #d63638;

    box-shadow:
        0 0 0 3px rgba(214, 54, 56, .14);
}


/*
 * Keine Arbeitsplätze
 */

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room:has(
    .rb-room-availability-empty
)::before {

    background: #a7aaad;

    box-shadow:
        0 0 0 3px rgba(167, 170, 173, .16);
}


/*
|--------------------------------------------------------------------------
| RAUM-ICON
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-icon {

    grid-column: 2;
    grid-row: 1 / 3;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    margin: 0;

    background: #f0f0f1;

    border-radius: 6px;

    color: #50575e;

    font-size: 14px;
    line-height: 1;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-active
.rb-booking-room-icon {

    background: #dceaf7;

    color: #1d4ed8;
}


/*
|--------------------------------------------------------------------------
| RAUMNAME
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-content {

    grid-column: 3;
    grid-row: 1;

    display: block;

    min-width: 0;

    margin: 0;
    padding: 0;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-content strong {

    display: block;

    margin: 0;

    overflow: hidden;

    color: #1d2327;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-content small {

    display: block;

    margin: 2px 0 0;

    overflow: hidden;

    color: #8c8f94;

    font-size: 11px;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| RAUM-VERFÜGBARKEIT
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-sidebar
.rb-booking-room-availability {

    grid-column: 3;
    grid-row: 2;

    justify-self: start;

    display: inline-flex;
    align-items: center;

    width: auto;

    margin: 0;
    padding: 3px 7px;

    border-radius: 6px;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;

    white-space: nowrap;
}


/*
 * Wird geladen
 */

.rb-booking-app .rb-room-availability-loading {
    background: #f0f0f1;
    color: #8c8f94;
}


/*
 * Frei
 */

.rb-booking-app .rb-room-availability-free {
    background: #dff3e2;
    color: #176b24;
}


/*
 * Belegt
 */

.rb-booking-app .rb-room-availability-full {
    background: #f5cccc;
    color: #8a2424;
}


/*
 * Keine Arbeitsplätze
 */

.rb-booking-app .rb-room-availability-empty {
    background: #f0f0f1;
    color: #646970;
}


/*
 * Vollständig belegten Raum zurücknehmen.
 */

.rb-booking-app
.rb-booking-room-full:not(.rb-booking-room-active) {

    opacity: .72;
}

.rb-booking-app
.rb-booking-room-full.rb-booking-room-active {

    opacity: 1;
}

.rb-booking-app .rb-booking-empty-small {
    margin: 5px 0;

    color: #8c8f94;

    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| RECHTER DASHBOARD-BEREICH
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-main {
    min-width: 0;

    padding: 0;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 14px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .03);

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| GRUNDRISS-KOPF
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-main-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 0;
    padding: 15px 18px;

    border-bottom: 1px solid #f0f0f1;
}

.rb-booking-app .rb-booking-main-header h3 {
    margin: 2px 0 0;

    color: #1d2327;

    font-size: 17px;
    line-height: 1.3;
}

.rb-booking-app .rb-booking-current-location {
    display: flex;

    align-items: center;

    margin-top: 4px;

    color: #646970;

    font-size: 12px;
    line-height: 1.4;
}

.rb-booking-app
.rb-booking-current-location:not(:empty)::before {

    content: "📍";

    margin-right: 5px;
}


/*
|--------------------------------------------------------------------------
| STATUS FREI / BELEGT
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-status-summary {
    display: flex;

    align-items: center;

    gap: 12px;

    flex: 0 0 auto;
}

.rb-booking-app .rb-booking-status-summary span {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #646970;

    font-size: 11px;
    font-weight: 600;
}

.rb-booking-app .rb-status-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    border-radius: 50%;
}

.rb-booking-app .rb-status-free {
    background: #46b450;
}

.rb-booking-app .rb-status-booked {
    background: #d63638;
}


/*
|--------------------------------------------------------------------------
| GRUNDRISS
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-floorplan {
    margin: 0;
    padding: 18px;

    background: #fafafa;
}

.rb-booking-app .rb-booking-room-header {
    margin-bottom: 15px;
}

.rb-booking-app .rb-booking-room-header h3 {
    margin: 0 0 4px;
}

.rb-booking-app .rb-booking-room-header p {
    margin: 0;

    color: #646970;
}


/*
 * Platzhalter
 */

.rb-booking-app .rb-booking-floorplan-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 480px;

    padding: 30px;

    background: #f6f7f7;

    border: 1px dashed #c3c4c7;
    border-radius: 12px;

    color: #646970;

    text-align: center;
}

.rb-booking-app .rb-booking-placeholder-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 13px;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 14px;

    color: #2563eb;

    font-size: 27px;
}

.rb-booking-app
.rb-booking-floorplan-placeholder strong {

    margin-bottom: 5px;

    color: #1d2327;

    font-size: 16px;
}

.rb-booking-app
.rb-booking-floorplan-placeholder span {

    max-width: 320px;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVER CANVAS
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-canvas-viewport {
    width: 100%;

    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .04);
}

.rb-booking-app .rb-booking-canvas-stage {
    position: relative;

    max-width: 100%;

    margin: 0 auto;

    transition:
        width .15s ease,
        height .15s ease;
}

.rb-booking-app .rb-booking-canvas {
    position: relative;

    flex-shrink: 0;
}


/*
|--------------------------------------------------------------------------
| GRUNDRISS-ELEMENTE
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-element {
    box-sizing: border-box;

    user-select: none;
}


/*
|--------------------------------------------------------------------------
| ARBEITSPLATZ
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-element-desk {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 3px;

    padding: 8px 5px 6px;

    overflow: hidden;

    background: #f5f5f5;

    border: 2px solid #aaaaaa;
    border-radius: 10px;

    text-align: center;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, .08);

    transition:
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}

.rb-booking-app
.rb-booking-element-desk
.rb-booking-element-icon {

    display: block;

    margin: 0;

    font-size: 18px;
    line-height: 1;
}

.rb-booking-app
.rb-booking-element-desk
.rb-booking-element-label {

    display: block;

    max-width: 100%;

    overflow: hidden;

    color: #1d2327;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;

    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| ARBEITSPLATZ-STATUS
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-desk-status {
    position: absolute;

    top: 3px;
    right: 4px;

    max-width: calc(100% - 8px);

    padding: 1px 4px;

    overflow: hidden;

    border-radius: 4px;

    font-size: 8px;
    font-weight: 700;
    line-height: 1.4;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/*
 * Laden
 */

.rb-booking-app
.rb-booking-element-desk.rb-workspace-loading {

    background: #f3f4f5;

    border-color: #aaaaaa;

    opacity: .7;
}

.rb-booking-app
.rb-workspace-loading
.rb-booking-desk-status {

    background: #e2e4e7;

    color: #646970;
}


/*
 * Frei
 */

.rb-booking-app
.rb-booking-element-desk.rb-workspace-free {

    background: #edfaef;

    border-color: #46b450;

    cursor: pointer;
}

.rb-booking-app
.rb-workspace-free
.rb-booking-desk-status {

    background: #d5f3d9;

    color: #176b24;
}

.rb-booking-app
.rb-booking-element-desk.rb-workspace-free:hover {

    z-index: 10;

    background: #dcf5df;

    border-color: #278b31;

    box-shadow:
        0 5px 14px rgba(39, 139, 49, .25);
}


/*
 * Belegt
 */

.rb-booking-app
.rb-booking-element-desk.rb-workspace-booked {

    background: #fbeaea;

    border-color: #d63638;

    opacity: .72;

    cursor: not-allowed;

    box-shadow: none;
}

.rb-booking-app
.rb-workspace-booked
.rb-booking-desk-status {

    background: #f5cccc;

    color: #8a2424;
}


/*
 * Hervorhebung aus "Meine Buchungen"
 */

.rb-booking-app
.rb-booking-element-desk.rb-workspace-highlight {

    z-index: 50;

    outline: 4px solid #2563eb;
    outline-offset: 4px;

    box-shadow:
        0 0 0 8px rgba(34, 113, 177, .14),
        0 6px 20px rgba(0, 0, 0, .18);
}


/*
|--------------------------------------------------------------------------
| WÄNDE
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-element-wall {
    background: #646970;

    border-radius: 2px;

    opacity: .75;

    overflow: hidden;
}

.rb-booking-app
.rb-booking-element-wall
.rb-booking-element-label {

    display: none;
}


/*
|--------------------------------------------------------------------------
| TÜREN
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-booking-element-door {
    display: flex;

    align-items: center;
    justify-content: center;

    background: #f6f7f7;

    border: 2px solid #a7aaad;
    border-radius: 4px;

    font-size: 18px;

    box-shadow: none;
}


/*
|--------------------------------------------------------------------------
| LEGENDE IM GRUNDRISS
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-main
.rb-booking-legend {

    display: none;
}


/*
|--------------------------------------------------------------------------
| BUCHUNGS-MODAL
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-workspace-booking-panel {
    position: fixed;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 10000;

    width: min(
        440px,
        calc(100vw - 32px)
    );

    max-height: calc(100vh - 40px);

    margin: 0;
    padding: 0;

    overflow-y: auto;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 20px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22),
        0 4px 16px rgba(0, 0, 0, .08);
}


/*
 * Hintergrund
 */

.rb-booking-modal-backdrop {
    position: fixed;

    inset: 0;

    z-index: 9999;

    background: rgba(15, 23, 42, .38);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


/*
 * Modal-Kopf
 */

.rb-booking-app .rb-workspace-booking-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin: 0;
    padding: 24px 24px 20px;

    border-bottom: 1px solid #f0f0f1;
}

.rb-booking-app .rb-workspace-booking-header h3 {
    margin: 0 0 6px;

    color: #1d2327;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.rb-booking-app .rb-workspace-booking-header strong {
    display: block;

    color: #646970;

    font-size: 14px;
    font-weight: 500;
}


/*
 * Schließen
 */

.rb-booking-app .rb-booking-close {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    margin: -4px -4px 0 0;
    padding: 0;

    background: #f6f7f7;

    border: 0;
    border-radius: 10px;

    color: #50575e;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.rb-booking-app .rb-booking-close:hover {
    background: #eceef0;

    color: #1d2327;

    transform: scale(1.04);
}


/*
 * Buchungsinformationen
 */

.rb-booking-app .rb-workspace-booking-info {
    margin: 20px 24px 0;
    padding: 0;

    background: transparent;

    border: 1px solid #e2e4e7;
    border-radius: 14px;

    overflow: hidden;
}

.rb-booking-app
.rb-workspace-booking-info > div {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 16px 18px;

    background: #ffffff;
}

.rb-booking-app .rb-workspace-booking-info span {
    color: #646970;

    font-size: 13px;
    font-weight: 500;
}

.rb-booking-app .rb-workspace-booking-info strong {
    color: #1d2327;

    font-size: 14px;
    font-weight: 700;
}


/*
 * Verfügbar-Hinweis
 */

.rb-booking-app .rb-workspace-booking-info::after {
    content: "●  Verfügbar";

    display: block;

    padding: 12px 18px;

    background: #f2fbf4;

    border-top: 1px solid #e2e4e7;

    color: #1f7a35;

    font-size: 13px;
    font-weight: 700;
}


/*
 * Buchungsbutton
 */

.rb-booking-app .rb-workspace-booking-actions {
    display: flex;

    margin: 20px 24px 24px;
}

.rb-booking-app
.rb-workspace-booking-actions
.button,

.rb-booking-app
.rb-workspace-booking-actions
.button.button-primary {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    margin: 0;
    padding: 11px 18px;

    background: #2563eb;

    border: 1px solid #2563eb;
    border-radius: 10px;

    color: #ffffff;

    box-shadow: none;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;

    text-shadow: none;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.rb-booking-app
.rb-workspace-booking-actions
.button:hover,

.rb-booking-app
.rb-workspace-booking-actions
.button.button-primary:hover {

    background: #1d4ed8;

    border-color: #1d4ed8;

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(34, 113, 177, .22);

    transform: translateY(-1px);
}

.rb-booking-app
.rb-workspace-booking-actions
.button:disabled {

    background: #a7aaad;

    border-color: #a7aaad;

    color: #ffffff;

    opacity: 1;

    cursor: default;

    transform: none;

    box-shadow: none;
}


/*
|--------------------------------------------------------------------------
| BUCHUNGS-MELDUNGEN
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-workspace-booking-status:not(:empty) {

    margin: -8px 24px 24px;
    padding: 11px 13px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.4;
}

.rb-booking-app
.rb-workspace-booking-status.rb-booking-success {

    background: #edfaef;

    border: 1px solid #b8dfbe;

    color: #176b24;
}

.rb-booking-app
.rb-workspace-booking-status.rb-booking-error {

    background: #fcf0f1;

    border: 1px solid #f0c2c4;

    color: #8a2424;
}

.rb-booking-app .rb-booking-message {
    padding: 15px 18px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 8px;
}

.rb-booking-app .rb-booking-error {
    border-color: #d63638;

    background: #fbeaea;
}


/*
|--------------------------------------------------------------------------
| MEINE BUCHUNGEN
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-my-bookings {
    margin-top: 28px;
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 16px;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .04);
}

.rb-booking-app .rb-my-bookings-header {
    margin-bottom: 17px;
}

.rb-booking-app .rb-my-bookings-header h2 {
    margin: 3px 0;

    font-size: 19px;
}

.rb-booking-app .rb-my-bookings-header p {
    margin: 0;

    color: #646970;

    font-size: 13px;
}


/*
 * Kartenraster
 */

.rb-booking-app #rb-my-bookings-list {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 12px;
}


/*
|--------------------------------------------------------------------------
| BUCHUNGSKARTE
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-my-booking-card {
    position: relative;

    display: flex;

    align-items: stretch;
    justify-content: space-between;

    gap: 20px;

    min-width: 0;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #e2e4e7;
    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .03);

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}


/*
 * Blauer Akzent
 */

.rb-booking-app .rb-my-booking-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: #2563eb;
}


/*
 * Anklickbar
 */

.rb-booking-app .rb-my-booking-card-clickable {
    cursor: pointer;
}

.rb-booking-app .rb-my-booking-card-clickable:hover {
    border-color: #b8cfe2;

    box-shadow:
        0 7px 22px rgba(34, 113, 177, .10);

    transform: translateY(-2px);
}

.rb-booking-app .rb-my-booking-card-clickable:focus {
    border-color: #2563eb;

    outline: 3px solid rgba(34, 113, 177, .14);
    outline-offset: 2px;
}


/*
 * Inhalt
 */

.rb-booking-app .rb-my-booking-content {
    flex: 1;

    min-width: 0;

    padding: 18px 10px 18px 20px;
}

.rb-booking-app .rb-my-booking-date {
    display: inline-flex;

    align-items: center;

    margin-bottom: 10px;
    padding: 4px 8px;

    background: #eef5fb;

    border-radius: 6px;

    color: #1d4ed8;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.rb-booking-app .rb-my-booking-workspace {
    margin-bottom: 5px;

    color: #1d2327;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.rb-booking-app .rb-my-booking-location {
    color: #646970;

    font-size: 12px;
    line-height: 1.5;
}

.rb-booking-app .rb-my-booking-open-hint {
    display: inline-flex;

    align-items: center;

    margin-top: 12px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform .15s ease,
        color .15s ease;
}

.rb-booking-app
.rb-my-booking-card-clickable:hover
.rb-my-booking-open-hint {

    color: #1d4ed8;

    transform: translateX(3px);
}


/*
|--------------------------------------------------------------------------
| STORNIEREN
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-my-booking-actions {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    padding: 18px 18px 18px 8px;
}

.rb-booking-app .rb-cancel-my-booking {
    min-height: 36px;

    padding: 6px 11px;

    background: #ffffff;

    border: 1px solid #dcdcde;
    border-radius: 8px;

    color: #646970;

    box-shadow: none;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.rb-booking-app .rb-cancel-my-booking:hover {
    background: #fcf0f1;

    border-color: #e8a5a8;

    color: #b32d2e;
}

.rb-booking-app .rb-cancel-my-booking:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.rb-booking-app .rb-cancel-my-booking:disabled {
    background: #f6f7f7;

    border-color: #dcdcde;

    color: #8c8f94;

    cursor: default;

    opacity: 1;
}


/*
|--------------------------------------------------------------------------
| MEINE BUCHUNGEN – LEER / LADEN
|--------------------------------------------------------------------------
*/

.rb-booking-app .rb-my-bookings-empty {
    padding: 26px 20px;

    background: #f6f7f7;

    border: 1px dashed #c3c4c7;
    border-radius: 12px;

    color: #646970;

    text-align: center;

    font-size: 13px;
}

.rb-booking-app
.rb-my-bookings
.rb-booking-loading {

    padding: 20px;

    background: #f6f7f7;

    border-radius: 10px;

    color: #646970;

    text-align: center;
}

.rb-booking-app
#rb-my-bookings-list
.rb-my-bookings-empty,

.rb-booking-app
#rb-my-bookings-list
.rb-booking-loading,

.rb-booking-app
#rb-my-bookings-list
.rb-booking-message {

    grid-column: 1 / -1;
}


/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 1000px) {

    .rb-booking-app .rb-booking-dashboard {
        grid-template-columns:
            240px
            minmax(0, 1fr);
    }

}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 782px) {

    .rb-booking-app .rb-booking-dashboard-header {
        flex-direction: column;

        align-items: stretch;

        gap: 14px;

        padding: 20px;
    }


    .rb-booking-app .rb-booking-dashboard-date {
        width: 100%;
        min-width: 0;
    }


    .rb-booking-app .rb-booking-dashboard {
        grid-template-columns: 1fr;
    }


    .rb-booking-app .rb-booking-main-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .rb-booking-app .rb-booking-status-summary {
        width: 100%;
    }


    .rb-booking-app .rb-booking-floorplan {
        padding: 10px;
    }


    .rb-booking-app .rb-booking-floorplan-placeholder {
        min-height: 300px;
    }


    .rb-booking-app .rb-booking-canvas-stage {
        margin-left: 0;
        margin-right: 0;
    }


    .rb-booking-app #rb-my-bookings-list {
        grid-template-columns: 1fr;
    }

}


/*
|--------------------------------------------------------------------------
| KLEINE SMARTPHONES
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .rb-booking-app .rb-my-booking-card {
        display: block;
    }


    .rb-booking-app .rb-my-booking-content {
        padding:
            17px
            18px
            10px
            20px;
    }


    .rb-booking-app .rb-my-booking-actions {
        padding:
            4px
            18px
            17px
            20px;
    }


    .rb-booking-app .rb-cancel-my-booking {
        width: 100%;
    }

}


@media (max-width: 500px) {

    .rb-booking-app .rb-workspace-booking-panel {
        width: calc(100vw - 20px);

        border-radius: 16px;
    }


    .rb-booking-app .rb-workspace-booking-header {
        padding:
            20px
            20px
            17px;
    }


    .rb-booking-app .rb-workspace-booking-info {
        margin:
            16px
            20px
            0;
    }


    .rb-booking-app .rb-workspace-booking-actions {
        margin:
            18px
            20px
            20px;
    }


    .rb-booking-app
    .rb-workspace-booking-status:not(:empty) {

        margin:
            -6px
            20px
            20px;
    }

}


/*
|--------------------------------------------------------------------------
| DATUMSNAVIGATION
|--------------------------------------------------------------------------
*/

.rb-booking-app
.rb-booking-date-navigation {

    display: flex;

    align-items: center;

    gap: 6px;
}


/*
 * Datum
 */

.rb-booking-app
.rb-booking-date-navigation
input[type="date"] {

    width: 150px;
    min-width: 150px;

    flex: 0 0 150px;
}


/*
 * Pfeilbuttons
 */

.rb-booking-app
.rb-booking-date-nav-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #dcdcde;
    border-radius: 8px;

    color: #2563eb;

    font-family: inherit;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease;
}


.rb-booking-app
.rb-booking-date-nav-button:hover:not(:disabled) {

    background: #f0f6fc;

    border-color: #2563eb;
}


/*
 * Heute
 */

.rb-booking-app
.rb-booking-date-today-button {

    height: 40px;

    margin: 0;
    padding: 0 12px;

    background: #ffffff;

    border: 1px solid #dcdcde;
    border-radius: 8px;

    color: #2563eb;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color .15s ease,
        border-color .15s ease;
}


.rb-booking-app
.rb-booking-date-today-button:hover:not(:disabled) {

    background: #f0f6fc;

    border-color: #2563eb;
}


/*
 * Deaktiviert
 */

.rb-booking-app
.rb-booking-date-nav-button:disabled,

.rb-booking-app
.rb-booking-date-today-button:disabled {

    background: #f6f7f7;

    border-color: #e2e4e7;

    color: #a7aaad;

    cursor: default;

    opacity: .7;
}


/*
 * Mobil
 */

@media (max-width: 600px) {

    .rb-booking-app
    .rb-booking-date-navigation {

        flex-wrap: wrap;
    }


    .rb-booking-app
    .rb-booking-date-navigation
    input[type="date"] {

        width: calc(100% - 92px);
        min-width: 0;

        flex: 1 1 auto;
    }


    .rb-booking-app
    .rb-booking-date-today-button {

        width: 100%;
    }

}


/*
|--------------------------------------------------------------------------
| BUCHUNGSMODAL – INFORMATIONEN
|--------------------------------------------------------------------------
*/

.rb-booking-modal-info-row {

    display: grid;

    grid-template-columns: 32px minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid #f0f0f1;
}


.rb-booking-modal-info-row:first-child {

    padding-top: 0;
}


.rb-booking-modal-info-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: #f0f6fc;

    border-radius: 8px;

    color: #2563eb;

    font-size: 18px;
    line-height: 1;
}


.rb-booking-modal-info-row > div {

    min-width: 0;
}


.rb-booking-modal-info-row > div > span {

    display: block;

    margin-bottom: 2px;

    color: #646970;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .04em;
}


.rb-booking-modal-info-row > div > strong {

    display: block;

    color: #1d2327;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    overflow-wrap: anywhere;
}


/*
 * Verfügbarkeit
 */

.rb-booking-modal-availability {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 14px;

    color: #238636;

    font-size: 13px;
    font-weight: 700;
}


.rb-booking-modal-availability-dot {

    display: inline-block;

    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    background: #238636;

    border-radius: 50%;
}



/*
|--------------------------------------------------------------------------
| FIRMENREGISTRIERUNG
|--------------------------------------------------------------------------
*/

.rb-register {
    width: 100%;
    max-width: 620px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.rb-register-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.rb-register-header {
    margin-bottom: 30px;
}

.rb-register-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.rb-register-header h1 {
    margin: 0 0 10px;
    color: #1d2327;
    font-size: 30px;
    line-height: 1.2;
}

.rb-register-header p {
    margin: 0;
    color: #646970;
    font-size: 15px;
    line-height: 1.6;
}

.rb-register-form {
    display: grid;
    gap: 18px;
}

.rb-register-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rb-register-field label {
    display: block;
    margin-bottom: 7px;
    color: #1d2327;
    font-size: 13px;
    font-weight: 700;
}

.rb-register-field input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #1d2327;
    font-size: 15px;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.rb-register-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, .12);
}

.rb-register-field small {
    display: block;
    margin-top: 6px;
    color: #8c8f94;
    font-size: 12px;
}

.rb-register-confirmations {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #f8fafc;
}

.rb-register-confirmations label {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: #415c63;
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.rb-register-confirmations input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #2563eb;
}

.rb-register-confirmations a {
    color: #1d4ed8;
}

.rb-register-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    padding: 10px 20px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition:
        background .15s ease,
        transform .15s ease;
}

.rb-register-submit:hover {
    background: #1d4ed8;
}

.rb-register-submit:active {
    transform: translateY(1px);
}

.rb-register-message {
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.5;
}

.rb-register-error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #8a2424;
}

.rb-register-error > div + div {
    margin-top: 5px;
}

.rb-register-success {
    background: #edfaef;
    border: 1px solid #46b450;
    color: #176b24;
}

.rb-register-hint {
    margin: 0;
    text-align: center;
    color: #8c8f94;
    font-size: 12px;
}

@media (max-width: 600px) {

    .rb-register {
        margin: 25px auto;
        padding: 0 14px;
    }

    .rb-register-card {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .rb-register-name-grid {
        grid-template-columns: 1fr;
    }

    .rb-register-header h1 {
        font-size: 26px;
    }
}


/*
|--------------------------------------------------------------------------
| ONBOARDING / EINRICHTUNG
|--------------------------------------------------------------------------
*/

.rb-setup {
    width: 100%;
    max-width: 760px;
    margin: 55px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.rb-setup-top {
    margin-bottom: 30px;
    text-align: center;
}

.rb-setup-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.rb-setup-top h1 {
    margin: 0 0 10px;
    color: #1d2327;
    font-size: 32px;
    line-height: 1.2;
}

.rb-setup-top p {
    margin: 0;
    color: #646970;
    font-size: 15px;
    line-height: 1.6;
}

.rb-setup-progress {
    display: flex;
    align-items: flex-start;
    max-width: 540px;
    margin: 0 auto 35px;
}

.rb-setup-progress-item {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #8c8f94;
    font-size: 12px;
}

.rb-setup-progress-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f0f0f1;
    border-radius: 50%;
    color: #646970;
    font-size: 13px;
    font-weight: 700;
}

.rb-setup-progress-item.is-active {
    color: #2563eb;
}

.rb-setup-progress-item.is-active span {
    background: #2563eb;
    color: #fff;
}

.rb-setup-progress-line {
    flex: 1 1 auto;
    height: 2px;
    margin: 16px 12px 0;
    background: #e2e8f0;
}

.rb-setup-card {
    padding: 36px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.rb-setup-card-icon {
    margin-bottom: 14px;
    font-size: 34px;
}

.rb-setup-card h2 {
    margin: 0 0 8px;
    color: #1d2327;
    font-size: 23px;
}

.rb-setup-card-intro {
    margin: 0 0 26px;
    color: #646970;
    font-size: 14px;
    line-height: 1.6;
}

.rb-setup-field {
    margin-bottom: 18px;
}

.rb-setup-field label {
    display: block;
    margin-bottom: 7px;
    color: #1d2327;
    font-size: 13px;
    font-weight: 700;
}

.rb-setup-field label span {
    margin-left: 4px;
    color: #8c8f94;
    font-size: 11px;
    font-weight: 400;
}

.rb-setup-field input,
.rb-setup-field textarea {
    width: 100%;
    padding: 12px 13px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #1d2327;
    font: inherit;
    outline: none;
}

.rb-setup-field input:focus,
.rb-setup-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, .12);
}

.rb-setup-field textarea {
    resize: vertical;
}

.rb-setup-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #fff !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.rb-setup-primary:hover {
    background: #1d4ed8;
}

.rb-setup-link {
    margin-top: 4px;
}

.rb-setup-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    background: #edfaef;
    border-radius: 50%;
    color: #238636;
    font-size: 22px;
    font-weight: 700;
}

.rb-setup-complete-label {
    display: block;
    margin-bottom: 5px;
    color: #238636;
    font-size: 12px;
    font-weight: 700;
}

.rb-setup-address {
    margin: 10px 0 18px;
    color: #646970;
    font-size: 14px;
    line-height: 1.5;
}

.rb-setup-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 9px;
}

.rb-setup-error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #8a2424;
}

@media (max-width: 600px) {

    .rb-setup {
        margin: 30px auto;
        padding: 0 14px;
    }

    .rb-setup-top h1 {
        font-size: 27px;
    }

    .rb-setup-card {
        padding: 25px 20px;
    }

    .rb-setup-progress-line {
        margin-left: 7px;
        margin-right: 7px;
    }
}


/*
|--------------------------------------------------------------------------
| ONBOARDING – SCHRITT 2 / ABSCHLUSS
|--------------------------------------------------------------------------
*/

.rb-setup-progress-line.is-active {
    background: #2563eb;
}

.rb-setup-location-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 11px 15px;
    background: #f6f7f7;
    border-radius: 9px;
    color: #646970;
    font-size: 13px;
}

.rb-setup-location-summary span {
    color: #8c8f94;
}

.rb-setup-location-summary strong {
    color: #1d2327;
}

.rb-setup-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #1d2327;
    font: inherit;
    outline: none;
}

.rb-setup-field select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, .12);
}

.rb-setup-field small {
    display: block;
    margin-top: 6px;
    color: #8c8f94;
    font-size: 12px;
    line-height: 1.5;
}

.rb-setup-finished {
    text-align: center;
}

.rb-setup-finished .rb-setup-success-icon {
    margin-right: auto;
    margin-left: auto;
}

.rb-setup-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 25px 0;
    text-align: left;
}

.rb-setup-result > div {
    min-width: 0;
    padding: 14px;
    background: #f6f7f7;
    border-radius: 10px;
}

.rb-setup-result span {
    display: block;
    margin-bottom: 4px;
    color: #8c8f94;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rb-setup-result strong {
    display: block;
    overflow: hidden;
    color: #1d2327;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-setup-next-hint {
    margin: 0 0 20px;
    color: #646970;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 600px) {

    .rb-setup-result {
        grid-template-columns: 1fr;
    }
}


/*
|--------------------------------------------------------------------------
| RAUMUNA APP
|--------------------------------------------------------------------------
*/

.rb-app {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    width: 100%;
    max-width: 1500px;
    min-height: 760px;
    margin: 30px auto;
    overflow: hidden;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, .07);
}


/*
|--------------------------------------------------------------------------
| APP SIDEBAR
|--------------------------------------------------------------------------
*/

.rb-app-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 16px 16px;
    background: #fff;
    border-right: 1px solid #e8edf3;
}

.rb-app-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 8px 24px;
}

.rb-app-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: #2563eb;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.rb-app-brand > div:last-child {
    min-width: 0;
}

.rb-app-brand strong,
.rb-app-brand span {
    display: block;
}

.rb-app-brand strong {
    color: #1d2327;
    font-size: 15px;
}

.rb-app-brand span {
    margin-top: 2px;
    overflow: hidden;
    color: #8c8f94;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-app-nav {
    flex: 1 1 auto;
}

.rb-app-nav-group + .rb-app-nav-group {
    margin-top: 28px;
}

.rb-app-nav-title {
    display: block;
    padding: 0 10px 7px;
    color: #a0a7b0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.rb-app-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin: 2px 0;
    padding: 0 10px;
    border-radius: 9px;
    color: #50575e !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        background .15s ease,
        color .15s ease;
}

.rb-app-nav-link:hover {
    background: #f6f7f7;
    color: #1d2327 !important;
}

.rb-app-nav-link.is-active {
    background: #edf5fc;
    color: #1d4ed8 !important;
}

.rb-app-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex: 0 0 22px;
    font-size: 17px;
}


/*
|--------------------------------------------------------------------------
| APP USER
|--------------------------------------------------------------------------
*/

.rb-app-user {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 14px 7px 2px;
    border-top: 1px solid #edf0f3;
}

.rb-app-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #edf5fc;
    border-radius: 50%;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
}

.rb-app-user-info {
    min-width: 0;
}

.rb-app-user-info strong,
.rb-app-user-info span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-app-user-info strong {
    color: #1d2327;
    font-size: 12px;
}

.rb-app-user-info span {
    margin-top: 2px;
    color: #8c8f94;
    font-size: 10px;
}

.rb-app-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    color: #8c8f94 !important;
    text-decoration: none !important;
}

.rb-app-logout:hover {
    background: #f6f7f7;
    color: #d63638 !important;
}


/*
|--------------------------------------------------------------------------
| APP CONTENT
|--------------------------------------------------------------------------
*/

.rb-app-content {
    min-width: 0;
    padding: 38px;
}

.rb-app-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.rb-app-page-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rb-app-page-header h1 {
    margin: 0;
    color: #1d2327;
    font-size: 28px;
    line-height: 1.2;
}

.rb-app-page-header p {
    margin: 7px 0 0;
    color: #646970;
    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| DASHBOARD CARDS
|--------------------------------------------------------------------------
*/

.rb-app-dashboard-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
}

.rb-app-action-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    min-height: 110px;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    color: inherit !important;
    text-decoration: none !important;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.rb-app-action-card:hover {
    border-color: #b9d4e9;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
}

.rb-app-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #edf5fc;
    border-radius: 11px;
    color: #2563eb;
    font-size: 20px;
}

.rb-app-action-card h2 {
    margin: 0 0 5px;
    color: #1d2327;
    font-size: 15px;
}

.rb-app-action-card p {
    margin: 0;
    color: #646970;
    font-size: 12px;
    line-height: 1.5;
}

.rb-app-action-arrow {
    color: #a7aaad;
    font-size: 20px;
}

.rb-app-placeholder {
    max-width: 800px;
    padding: 28px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 13px;
}

.rb-app-placeholder strong {
    display: block;
    margin-bottom: 6px;
    color: #1d2327;
}

.rb-app-placeholder p {
    margin: 0;
    color: #646970;
    font-size: 13px;
    line-height: 1.6;
}

.rb-app-access-message {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}


/*
|--------------------------------------------------------------------------
| APP RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 850px) {

    .rb-app {
        grid-template-columns: 1fr;
        margin: 15px auto;
        border-radius: 12px;
    }

    .rb-app-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
    }

    .rb-app-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .rb-app-nav-group {
        display: flex;
        flex: 0 0 auto;
        gap: 4px;
    }

    .rb-app-nav-group + .rb-app-nav-group {
        margin-top: 0;
    }

    .rb-app-nav-title {
        display: none;
    }

    .rb-app-nav-link {
        flex: 0 0 auto;
    }

    .rb-app-user {
        display: none;
    }

    .rb-app-content {
        padding: 24px 18px;
    }
}

@media (max-width: 600px) {

    .rb-app-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .rb-app-page-header h1 {
        font-size: 24px;
    }
}



/*
|--------------------------------------------------------------------------
| BUCHUNGSANSICHT IN DER APP
|--------------------------------------------------------------------------
*/

.rb-app-embedded-content {
    min-width: 0;
}

.rb-app-embedded-content .rb-booking-app {
    max-width: none;
    margin: 0;
}

.rb-app-embedded-content
.rb-booking-dashboard-title {
    display: none;
}

.rb-app-embedded-content
.rb-booking-dashboard-header {
    justify-content: flex-end;
    margin-bottom: 18px;
}

.rb-app-embedded-content
.rb-my-bookings {
    margin-top: 0;
}

.rb-app-embedded-content
.rb-my-bookings-header {
    display: none;
}



/* ==========================================================
   APP DASHBOARD – STATUSKARTEN
   ========================================================== */

.rb-app-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}


/* Einzelne Statuskarte */

.rb-app-stat-card {
    position: relative;
    min-height: 170px;
    padding: 24px 26px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 24px rgba(15, 23, 42, 0.04);
}


/* Kleine Überschrift */

.rb-app-stat-label {
    display: block;

    margin-bottom: 14px;

    color: #64748b;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Große Zahl */

.rb-app-stat-value {
    margin-bottom: 4px;

    color: #0f172a;

    font-size: 42px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.04em;
}


/* Beschreibung unter der Zahl */

.rb-app-stat-description {
    display: block;

    margin-top: 8px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.5;
}


/* Grüne Markierung der Verfügbarkeitskarte */

.rb-app-stat-card:first-child::after {
    content: "";

    position: absolute;
    top: 24px;
    right: 24px;

    width: 12px;
    height: 12px;

    background: #22c55e;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(34, 197, 94, 0.12);
}


/* ==========================================================
   NÄCHSTE BUCHUNG
   ========================================================== */

.rb-app-next-booking {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding-top: 2px;
}


.rb-app-next-booking strong {
    color: #0f172a;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}


.rb-app-next-booking span {
    color: #475569;

    font-size: 14px;
    line-height: 1.5;
}


.rb-app-next-booking small {
    margin-top: 3px;

    color: #94a3b8;

    font-size: 13px;
    line-height: 1.4;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 800px) {

    .rb-app-dashboard-stats {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .rb-app-stat-card {
        min-height: auto;
        padding: 20px;
        border-radius: 15px;
    }


    .rb-app-stat-value {
        font-size: 36px;
    }

}


/* ==========================================================
   APP DASHBOARD – NÄCHSTE BUCHUNGEN
   ========================================================== */

.rb-app-upcoming {
    margin-top: 30px;
}


/* Überschrift + Link */

.rb-app-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 14px;
}


.rb-app-section-header h2 {
    margin: 3px 0 0;

    color: #0f172a;

    font-size: 21px;
    font-weight: 750;
    line-height: 1.3;
}


.rb-app-section-header a {
    flex-shrink: 0;

    color: #2563eb;

    font-size: 14px;
    font-weight: 650;

    text-decoration: none;
}


.rb-app-section-header a:hover {
    text-decoration: underline;
}


/* ==========================================================
   LISTE
   ========================================================== */

.rb-app-upcoming-list {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 24px rgba(15, 23, 42, 0.04);
}


/* Einzelne Buchung */

.rb-app-upcoming-item {
    display: grid;

    grid-template-columns:
        58px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    min-height: 86px;

    padding: 14px 22px;
}


.rb-app-upcoming-item +
.rb-app-upcoming-item {
    border-top: 1px solid #eef2f7;
}


/* ==========================================================
   DATUM
   ========================================================== */

.rb-app-upcoming-date {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 13px;
}


.rb-app-upcoming-date strong {
    color: #0f172a;

    font-size: 20px;
    font-weight: 750;
    line-height: 1;
}


.rb-app-upcoming-date span {
    margin-top: 3px;

    color: #64748b;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}


/* ==========================================================
   BUCHUNGSINFORMATION
   ========================================================== */

.rb-app-upcoming-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.rb-app-upcoming-info strong {
    overflow: hidden;

    color: #0f172a;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.rb-app-upcoming-info span {
    overflow: hidden;

    color: #64748b;

    font-size: 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Uhrzeit */

.rb-app-upcoming-time {
    padding: 7px 11px;

    background: #f1f5f9;

    border-radius: 9px;

    color: #475569;

    font-size: 13px;
    font-weight: 650;

    white-space: nowrap;
}


/* Hover */

.rb-app-upcoming-item {
    transition:
        background 0.15s ease;
}


.rb-app-upcoming-item:hover {
    background: #fafcff;
}


/* ==========================================================
   LEERZUSTAND
   ========================================================== */

.rb-app-upcoming-empty {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    text-align: center;
}


.rb-app-upcoming-empty strong {
    display: block;

    margin-bottom: 5px;

    color: #0f172a;

    font-size: 16px;
}


.rb-app-upcoming-empty p {
    margin: 0 0 12px;

    color: #64748b;

    font-size: 14px;
}


.rb-app-upcoming-empty a {
    color: #2563eb;

    font-size: 14px;
    font-weight: 650;

    text-decoration: none;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .rb-app-section-header {
        align-items: center;
    }


    .rb-app-section-header h2 {
        font-size: 18px;
    }


    .rb-app-upcoming-item {
        grid-template-columns:
            50px
            minmax(0, 1fr);

        gap: 13px;

        padding: 14px 16px;
    }


    .rb-app-upcoming-date {
        width: 48px;
        height: 48px;
    }


    .rb-app-upcoming-date strong {
        font-size: 18px;
    }


    .rb-app-upcoming-time {
        grid-column: 2;

        justify-self: start;

        margin-top: -4px;

        padding: 5px 8px;
    }

}


/* ==========================================================
   APP – MITARBEITER
   ========================================================== */

.rb-app-employees {
    width: 100%;
}


/* Kopfbereich */

.rb-app-employees > .rb-app-section-header {
    align-items: center;

    margin-bottom: 24px;
}


.rb-app-employees > .rb-app-section-header p {
    margin: 6px 0 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.5;
}


/* ==========================================================
   PRIMARY BUTTON
   ========================================================== */

.rb-app-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 18px;

    background: #2563eb;

    border: 0;
    border-radius: 10px;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    text-decoration: none;

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.rb-app-primary-button:hover {
    background: #1d4ed8;

    box-shadow:
        0 5px 14px rgba(37, 99, 235, 0.18);
}


.rb-app-primary-button:active {
    transform: translateY(1px);
}


.rb-app-primary-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ==========================================================
   EINLADUNGSFORMULAR
   ========================================================== */

.rb-app-invite-panel {
    margin-bottom: 24px;
    padding: 24px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 24px rgba(15, 23, 42, 0.04);
}


.rb-app-invite-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}


.rb-app-invite-panel-header h3 {
    margin: 3px 0 0;

    color: #0f172a;

    font-size: 20px;
    font-weight: 750;
}


#rb-app-close-invite {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 9px;

    color: #64748b;

    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
}


#rb-app-close-invite:hover {
    background: #f1f5f9;
    color: #0f172a;
}


/* ==========================================================
   FORMULARFELDER
   ========================================================== */

.rb-app-form-field {
    margin-bottom: 18px;
}


.rb-app-form-field label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;
    font-weight: 700;
}


.rb-app-form-field input,
.rb-app-form-field select {
    box-sizing: border-box;

    width: 100%;
    min-height: 46px;

    padding: 10px 12px;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    color: #0f172a;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.rb-app-form-field input:focus,
.rb-app-form-field select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.1);
}


/* ==========================================================
   EINLADUNGS-MELDUNG
   ========================================================== */

.rb-app-invite-message {
    margin-bottom: 24px;
    padding: 16px 18px;

    border-radius: 12px;

    font-size: 14px;
    line-height: 1.5;
}


.rb-app-invite-message.is-success {
    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    color: #166534;
}


.rb-app-invite-message.is-error {
    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;
}


.rb-app-invite-message strong {
    display: block;

    margin-bottom: 4px;
}


.rb-app-invite-message p {
    margin: 10px 0 6px;
}


.rb-app-invite-message input {
    box-sizing: border-box;

    width: 100%;

    padding: 10px 12px;

    background: #ffffff;

    border: 1px solid #bbf7d0;
    border-radius: 8px;

    color: #166534;

    font-family: inherit;
    font-size: 13px;
}


/* ==========================================================
   MITARBEITERLISTE
   ========================================================== */

.rb-app-employee-list {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 24px rgba(15, 23, 42, 0.04);
}


.rb-app-employee-row {
    display: grid;

    grid-template-columns:
        46px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

    min-height: 76px;

    padding: 12px 18px;
}


.rb-app-employee-row +
.rb-app-employee-row {
    border-top: 1px solid #eef2f7;
}


/* Avatar */

.rb-app-employee-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #eff6ff;

    border-radius: 50%;

    color: #2563eb;

    font-size: 15px;
    font-weight: 750;
}


/* Name + Mail */

.rb-app-employee-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.rb-app-employee-info strong {
    overflow: hidden;

    color: #0f172a;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.rb-app-employee-info span {
    overflow: hidden;

    color: #64748b;

    font-size: 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Rollen */

.rb-app-role-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    background: #f1f5f9;

    border-radius: 999px;

    color: #475569;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


.rb-app-role-badge.rb-app-role-admin {
    background: #eff6ff;

    color: #1d4ed8;
}


/* ==========================================================
   EINLADUNGSSEITE
   ========================================================== */

.rb-invitation-page {
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 70vh;

    padding: 40px 20px;
}


.rb-invitation-card {
    box-sizing: border-box;

    width: 100%;
    max-width: 520px;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 18px 50px rgba(15, 23, 42, 0.08);
}


.rb-invitation-card h1 {
    margin: 6px 0 10px;

    color: #0f172a;

    font-size: 30px;
    font-weight: 750;
    line-height: 1.2;

    letter-spacing: -0.025em;
}


.rb-invitation-intro {
    margin: 0 0 24px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.6;
}


.rb-invitation-email {
    display: flex;
    flex-direction: column;

    gap: 3px;

    margin-bottom: 24px;
    padding: 14px 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 10px;
}


.rb-invitation-email span {
    color: #94a3b8;

    font-size: 12px;
    font-weight: 650;
}


.rb-invitation-email strong {
    color: #334155;

    font-size: 14px;
}


.rb-invitation-error {
    margin-bottom: 20px;
    padding: 12px 14px;

    background: #fef2f2;

    border: 1px solid #fecaca;
    border-radius: 9px;

    color: #991b1b;

    font-size: 14px;
}


.rb-invitation-card .rb-app-primary-button {
    width: 100%;

    margin-top: 4px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .rb-app-employees >
    .rb-app-section-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .rb-app-employees >
    .rb-app-section-header
    .rb-app-primary-button {
        width: 100%;
    }


    .rb-app-employee-row {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        padding: 13px 14px;
    }


    .rb-app-employee-role {
        grid-column: 2;
    }


    .rb-invitation-card {
        padding: 24px 20px;

        border-radius: 16px;
    }


    .rb-invitation-card h1 {
        font-size: 25px;
    }

}




/* ==========================================================
   APP – OFFENE EINLADUNGEN
   ========================================================== */

.rb-app-pending-invitations {
    margin-top: 30px;
}


.rb-app-pending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 12px;
}


.rb-app-pending-header h3 {
    margin: 3px 0 0;

    color: #0f172a;

    font-size: 18px;
    font-weight: 750;
}


.rb-app-pending-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 28px;
    height: 28px;

    padding: 0 8px;

    background: #eff6ff;

    border-radius: 999px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 750;
}


/* Liste */

.rb-app-pending-list {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 24px rgba(15, 23, 42, 0.04);
}


.rb-app-pending-row {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

    min-height: 72px;

    padding: 12px 18px;
}


.rb-app-pending-row +
.rb-app-pending-row {
    border-top: 1px solid #eef2f7;
}


/* Icon */

.rb-app-pending-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 50%;

    color: #64748b;

    font-size: 15px;
}


/* Informationen */

.rb-app-pending-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.rb-app-pending-info strong {
    overflow: hidden;

    color: #0f172a;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.rb-app-pending-info span {
    color: #64748b;

    font-size: 12px;
}


/* Status */

.rb-app-invite-status {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    background: #fff7ed;

    border-radius: 999px;

    color: #c2410c;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


.rb-app-invite-status.is-expired {
    background: #f1f5f9;

    color: #64748b;
}


/* Mobile */

@media (max-width: 650px) {

    .rb-app-pending-row {
        grid-template-columns:
            38px
            minmax(0, 1fr);

        padding: 13px 14px;
    }


    .rb-app-pending-status {
        grid-column: 2;
    }

}



/* ==========================================================
   APP – EINLADUNG ZURÜCKZIEHEN
   ========================================================== */

.rb-app-pending-row {
    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto
        auto;
}

.rb-app-revoke-form {
    margin: 0;
}

.rb-app-revoke-button {
    padding: 8px 12px;

    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;

    cursor: pointer;
    white-space: nowrap;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.rb-app-revoke-button:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

@media (max-width: 650px) {

    .rb-app-pending-row {
        grid-template-columns:
            38px
            minmax(0, 1fr);
    }

    .rb-app-pending-status {
        grid-column: 2;
    }

    .rb-app-revoke-form {
        grid-column: 2;
    }

    .rb-app-revoke-button {
        width: 100%;
    }
}



/* ==========================================================
   APP – EINLADUNGSAKTIONEN
   ========================================================== */

.rb-app-pending-row {
    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto
        auto;
}

.rb-app-invitation-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.rb-app-invitation-actions form {
    margin: 0;
}

.rb-app-resend-button {
    padding: 8px 12px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;

    color: #1d4ed8;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
    white-space: nowrap;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.rb-app-resend-button:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

@media (max-width: 650px) {

    .rb-app-pending-row {
        grid-template-columns:
            38px
            minmax(0, 1fr);
    }

    .rb-app-invitation-actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .rb-app-resend-button,
    .rb-app-revoke-button {
        width: auto;
    }
}


/* ==========================================================
   APP – MITARBEITERROLLEN
   ========================================================== */

.rb-app-role-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.rb-app-role-form select {
    width: auto;
    min-width: 145px;
    height: 36px;
    padding: 6px 10px;

    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;

    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.rb-app-role-form select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.rb-app-role-save {
    min-height: 36px;
    padding: 7px 12px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;

    color: #1d4ed8;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.rb-app-role-save:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

@media (max-width: 650px) {

    .rb-app-employee-role {
        grid-column: 2;
    }

    .rb-app-role-form {
        flex-wrap: wrap;
    }

}



/* ==========================================================
   APP – MITARBEITER ENTFERNEN
   ========================================================== */

.rb-app-employee-row {
    grid-template-columns:
        46px
        minmax(0, 1fr)
        auto
        auto;
}

.rb-app-remove-employee-form {
    margin: 0;
}

.rb-app-remove-employee-button {
    min-height: 36px;
    padding: 7px 12px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
    white-space: nowrap;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.rb-app-remove-employee-button:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

@media (max-width: 650px) {

    .rb-app-employee-row {
        grid-template-columns:
            42px
            minmax(0, 1fr);
    }

    .rb-app-employee-role,
    .rb-app-remove-employee-form {
        grid-column: 2;
    }

    .rb-app-remove-employee-button {
        width: auto;
    }
}


/* ==========================================================
   APP – STANDORTE
   ========================================================== */

.rb-app-locations {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.rb-app-location-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rb-app-location-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 22px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.rb-app-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    background: #eff6ff;
    border-radius: 12px;

    font-size: 24px;
}

.rb-app-location-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.rb-app-location-info > strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}

.rb-app-location-info > span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.rb-app-location-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.rb-app-location-meta span {
    padding: 5px 9px;

    background: #f1f5f9;
    border-radius: 7px;

    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 850px) {

    .rb-app-location-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .rb-app-location-card {
        padding: 16px;
        gap: 12px;
    }

    .rb-app-location-icon {
        width: 42px;
        height: 42px;
        font-size: 21px;
    }

}


/* ==========================================================
   APP – STANDORT ANLEGEN
   ========================================================== */

.rb-app-location-create[hidden] {
    display: none !important;
}

.rb-app-location-create {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
}

.rb-app-location-create-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.rb-app-location-create-header h3 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

#rb-app-location-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 22px;
    cursor: pointer;
}

.rb-app-location-create form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rb-app-location-create textarea {
    width: 100%;
    min-height: 90px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font: inherit;
    resize: vertical;
}

.rb-app-location-create form > button {
    align-self: flex-start;
}

@media (max-width: 650px) {
    .rb-app-location-create {
        padding: 18px;
    }
}


/* ==========================================================
   APP – STANDORTDETAILS
   ========================================================== */

a.rb-app-location-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

a.rb-app-location-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
    transform: translateY(-2px);
}

.rb-app-location-detail {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.rb-app-location-back {
    align-self: flex-start;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.rb-app-location-detail-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rb-app-location-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: #eff6ff;
    border-radius: 15px;
    font-size: 30px;
}

.rb-app-location-detail-header h2 {
    margin: 5px 0;
    color: #0f172a;
    font-size: 24px;
}

.rb-app-location-detail-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.rb-app-location-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rb-app-location-detail-stats > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
}

.rb-app-location-detail-stats strong {
    color: #0f172a;
    font-size: 26px;
}

.rb-app-location-detail-stats span {
    color: #64748b;
    font-size: 12px;
}

.rb-app-location-detail-next {
    padding: 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.rb-app-location-detail-next h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.rb-app-location-detail-next p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 650px) {
    .rb-app-location-detail {
        padding: 18px;
    }

    .rb-app-location-detail-header h2 {
        font-size: 20px;
    }
}


/* ==========================================================
   APP – ETAGENVERWALTUNG
   ========================================================== */

.rb-app-location-floors {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rb-app-location-floors h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
}

.rb-app-floor-create[hidden] {
    display: none !important;
}

.rb-app-floor-create {
    padding: 22px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.rb-app-floor-create form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-app-floor-create form > button {
    align-self: flex-start;
}

.rb-app-floor-create small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
}

#rb-app-floor-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
    font-size: 22px;
    cursor: pointer;
}

.rb-app-floor-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rb-app-floor-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.rb-app-floor-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #eff6ff;
    border-radius: 10px;
    color: #1d4ed8;
    font-size: 17px;
    font-weight: 800;
}

.rb-app-floor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.rb-app-floor-info strong {
    color: #0f172a;
    font-size: 14px;
}

.rb-app-floor-info span {
    color: #64748b;
    font-size: 12px;
}

.rb-app-floor-arrow {
    color: #94a3b8;
    font-size: 20px;
}

@media (max-width: 650px) {

    .rb-app-floor-create {
        padding: 16px;
    }

    .rb-app-location-floors .rb-app-section-header {
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }
}


/* ==========================================================
   APP – ETAGEN UND RÄUME
   ========================================================== */

a.rb-app-floor-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color .15s ease,
        background .15s ease;
}

a.rb-app-floor-card:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.rb-app-floor-rooms {
    display: flex;
    flex-direction: column;
    gap: 18px;

    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
}

.rb-app-floor-rooms h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
}

.rb-app-room-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rb-app-room-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    padding: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.rb-app-room-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    background: #eff6ff;
    border-radius: 10px;

    color: #2563eb;
    font-size: 23px;
}

.rb-app-room-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.rb-app-room-info strong {
    color: #0f172a;
    font-size: 14px;
}

.rb-app-room-info span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.rb-app-room-info small {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 700px) {

    .rb-app-room-list {
        grid-template-columns: 1fr;
    }

}



/* ==========================================================
   APP – RAUM ANLEGEN
   ========================================================== */

.rb-app-room-create[hidden] {
    display: none !important;
}

.rb-app-room-create {
    padding: 22px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.rb-app-room-create form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-app-room-create form > button {
    align-self: flex-start;
}

.rb-app-room-create textarea {
    width: 100%;
    min-height: 90px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font: inherit;
    resize: vertical;
}

#rb-app-room-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 650px) {

    .rb-app-room-create {
        padding: 16px;
    }

    .rb-app-floor-rooms .rb-app-section-header {
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }
}


/* ==========================================================
   APP – RAUMAUSWAHL
   ========================================================== */

a.rb-app-room-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

a.rb-app-room-card:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
}

.rb-app-selected-room {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    background: #f8fafc;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
}

.rb-app-selected-room h3 {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
}

.rb-app-selected-room-next {
    padding: 20px;
    background: #ffffff;
    border: 1px dashed #93c5fd;
    border-radius: 12px;
}

.rb-app-selected-room-next strong {
    color: #1d4ed8;
    font-size: 15px;
}

.rb-app-selected-room-next p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
}


/* ==========================================================
   APP – GRUNDRISSEDITOR CONTAINER
   ========================================================== */

.rb-app-selected-room-editor {
    width: 100%;
    min-width: 0;
}

.rb-app-selected-room-editor .wrap {
    margin: 0;
    padding: 0;
}

.rb-app-selected-room-editor .rb-floorplan-wrapper {
    width: 100%;
    max-width: 100%;
}

.rb-app-selected-room-editor .rb-floorplan-main {
    min-width: 0;
}



/* ==========================================================
   APP – GRUNDRISSEDITOR FRONTEND-ANPASSUNG
   ========================================================== */

/* Editor-Grundlayout */

.rb-app-selected-room-editor {
    width: 100%;
    min-width: 0;
}

.rb-app-selected-room-editor .wrap {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Überschrift */

.rb-app-selected-room-editor .wrap h1 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 650;
    margin: 0 0 6px;
    color: #172033;
}

/* Zurück-Link */

.rb-app-selected-room-editor .wrap > p > a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #2563eb;
    margin-bottom: 18px;
}

.rb-app-selected-room-editor .wrap > p > a:hover {
    text-decoration: underline;
}

/* Drei Editorbereiche */

.rb-app-selected-room-editor .rb-floorplan-wrapper {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 230px;
    gap: 16px;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

/* Werkzeugleiste und Eigenschaften */

.rb-app-selected-room-editor .rb-floorplan-sidebar,
.rb-app-selected-room-editor .rb-floorplan-inspector {
    min-width: 0;
    box-sizing: border-box;
    padding: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.rb-app-selected-room-editor .rb-floorplan-sidebar h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 650;
}

/* Buttons */

.rb-app-selected-room-editor .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}

.rb-app-selected-room-editor .button:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.rb-app-selected-room-editor .rb-floorplan-tool {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

/* Speichern-Button */

.rb-app-selected-room-editor .button-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.rb-app-selected-room-editor .button-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

/* Zeichenfläche */

.rb-app-selected-room-editor .rb-floorplan-main {
    min-width: 0;
    width: 100%;
}

/* Eingabefelder im Eigenschaftenbereich */

.rb-app-selected-room-editor .rb-floorplan-inspector input,
.rb-app-selected-room-editor .rb-floorplan-inspector select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    font-size: 14px;
    box-sizing: border-box;
}

.rb-app-selected-room-editor .rb-floorplan-inspector input:focus,
.rb-app-selected-room-editor .rb-floorplan-inspector select:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

/* Tablet */

@media (max-width: 1100px) {
    .rb-app-selected-room-editor .rb-floorplan-wrapper {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .rb-app-selected-room-editor .rb-floorplan-inspector {
        grid-column: 1 / -1;
    }
}

/* Smartphone */

@media (max-width: 700px) {
    .rb-app-selected-room-editor .rb-floorplan-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .rb-app-selected-room-editor .rb-floorplan-inspector {
        grid-column: auto;
    }

    .rb-app-selected-room-editor .wrap h1 {
        font-size: 22px;
    }
}


/* ==========================================================
   APP – GRUNDRISSEDITOR KOPFZEILE
   ========================================================== */

/* Zurück-Link und Abstand */

.rb-app-selected-room-editor .wrap > p:first-child {
    margin: 0 0 14px;
}

.rb-app-selected-room-editor .wrap > p:first-child a {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

/* Kopfbereich mit Raumname und Speichern-Button */

.rb-app-selected-room-editor .wrap > div[style*="display:flex"] {
    gap: 16px;
    margin-bottom: 0;
}

/* Raumname */

.rb-app-selected-room-editor .wrap h1 {
    font-size: 23px;
    line-height: 1.25;
    font-weight: 650;
    margin: 0 0 4px !important;
}

/* Gebäude- und Etagenbezeichnung */

.rb-app-selected-room-editor .wrap h1 + p {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b !important;
}

/* Speichern-Button */

.rb-app-selected-room-editor #rb-save-floorplan {
    min-height: 40px;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 650;
    border-radius: 8px;
}

/* Abstand zwischen Kopfzeile und Editor */

.rb-app-selected-room-editor .rb-floorplan-wrapper {
    margin-top: 18px;
}

/* Kleinere Bildschirme */

@media (max-width: 700px) {

    .rb-app-selected-room-editor .wrap > div[style*="display:flex"] {
        flex-wrap: wrap;
        align-items: flex-start !important;
    }

    .rb-app-selected-room-editor #rb-save-floorplan {
        width: 100%;
    }

}


/* ==========================================================
   APP – GRUNDRISSEDITOR WERKZEUGE UND EIGENSCHAFTEN
   ========================================================== */

/* Einheitliche Seitenbereiche */

.rb-app-selected-room-editor .rb-floorplan-sidebar,
.rb-app-selected-room-editor .rb-floorplan-inspector {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    box-sizing: border-box;
}

/* Überschriften */

.rb-app-selected-room-editor .rb-floorplan-sidebar h3,
.rb-app-selected-room-editor .rb-floorplan-inspector h3 {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
    color: #172033;
}

/* Beschreibung in der Werkzeugleiste */

.rb-app-selected-room-editor .rb-floorplan-sidebar > p {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b !important;
}

/* Werkzeugbuttons */

.rb-app-selected-room-editor .rb-floorplan-tool {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    margin: 0 0 9px !important;
    padding: 10px 12px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.rb-app-selected-room-editor .rb-floorplan-tool:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.rb-app-selected-room-editor .rb-floorplan-tool:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Eigenschaftenfelder */

.rb-app-selected-room-editor .rb-inspector-field {
    margin-bottom: 16px;
}

.rb-app-selected-room-editor .rb-inspector-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 650;
    color: #475569;
}

.rb-app-selected-room-editor .rb-inspector-field input,
.rb-app-selected-room-editor .rb-inspector-field select {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Positionsanzeige */

.rb-app-selected-room-editor .rb-inspector-position {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #64748b;
}


/* ==========================================================
   APP – DOPPELTE EDITOR-ÜBERSCHRIFT ENTFERNEN
   ========================================================== */

/* Raumname und Standortangaben des eingebetteten Editors ausblenden */

.rb-app-selected-room-editor .wrap > div[style*="display:flex"] > div:first-child {
    display: none;
}

/* Speichern-Button rechts ausrichten */

.rb-app-selected-room-editor .wrap > div[style*="display:flex"] {
    justify-content: flex-end !important;
    margin-bottom: 0;
}

/* Zurück-Link im Editor ausblenden:
   Die Navigation erfolgt bereits über die App. */

.rb-app-selected-room-editor .wrap > p:first-child {
    display: none;
}

/* Abstand zur Zeichenfläche */

.rb-app-selected-room-editor .rb-floorplan-wrapper {
    margin-top: 14px;
}


/* ==========================================================
   APP – ZURÜCK-NAVIGATION IM RAUM
   ========================================================== */

.rb-app-room-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.rb-app-room-back:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.rb-app-room-back:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 3px;
}


/* ==========================================================
   APP – GRUNDRISS VOLLSTÄNDIG ZUGÄNGLICH MACHEN
   ========================================================== */

.rb-app-selected-room-editor .rb-floorplan-main {
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
}

.rb-app-selected-room-editor #rb-floorplan-canvas {
    min-width: 900px;
}

/* ==========================================================
   APP – GRUNDRISS ANSICHTSSTEUERUNG
   ========================================================== */

.rb-app-selected-room-editor .rb-floorplan-view-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.rb-app-selected-room-editor .rb-floorplan-view-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.rb-app-selected-room-editor #rb-floorplan-fit {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
}

.rb-app-selected-room-editor #rb-floorplan-fit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ==========================================================
   APP – GRUNDRISS GESAMTANSICHT
   ========================================================== */

.rb-app-selected-room-editor
.rb-floorplan-fit-active
#rb-floorplan-canvas {
    pointer-events: none;
}

.rb-app-selected-room-editor
.rb-floorplan-fit-active
.rb-floorplan-view-controls {
    pointer-events: auto;
}

/* APP – ARBEITSPLATZLISTE UNTER DEM GRUNDRISS */

.rb-app-selected-room-editor .rb-room-workspaces {
    margin-top: 24px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.rb-app-selected-room-editor .rb-room-workspaces h3 {
    margin: 0 0 16px;
    font-size: 16px;
}

.rb-app-selected-room-editor .rb-room-workspaces-list {
    display: grid;
    gap: 8px;
}

.rb-app-selected-room-editor .rb-room-workspace-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.rb-app-selected-room-editor .rb-room-workspace-name {
    font-weight: 600;
    color: #0f172a;
}

.rb-app-selected-room-editor .rb-room-workspace-id {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}


/* APP – ARBEITSPLATZAUSWAHL AUS DER LISTE */

.rb-app-selected-room-editor .rb-room-workspace-item {
    cursor: pointer;
    transition: background-color 0.15s ease,
                border-color 0.15s ease;
}

.rb-app-selected-room-editor .rb-room-workspace-item:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.rb-app-selected-room-editor .rb-room-workspace-item:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.rb-app-selected-room-editor .rb-room-workspace-item.rb-room-workspace-selected {
    background: #dbeafe;
    border-color: #2563eb;
}


/* ==========================================
   Meine Buchungen – modernes Kartenlayout
   ========================================== */

.rb-my-bookings #rb-my-bookings-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.rb-my-bookings .rb-booking-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rb-my-bookings .rb-booking-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.rb-my-bookings .rb-booking-card-date {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f5;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.rb-my-bookings .rb-booking-card-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.rb-my-bookings .rb-booking-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 12px;
    font-size: 22px;
}

.rb-my-bookings .rb-booking-card-info {
    min-width: 0;
}

.rb-my-bookings .rb-booking-card-title {
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.rb-my-bookings .rb-booking-card-location {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.rb-my-bookings .rb-booking-card-time {
    margin-top: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.rb-my-bookings .rb-booking-card-action {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
}

.rb-my-bookings .rb-cancel-booking {
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rb-my-bookings .rb-cancel-booking:hover {
    background: #fef2f2;
}

/* Tablet: zwei Karten nebeneinander */
@media (max-width: 1100px) {
    .rb-my-bookings #rb-my-bookings-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone: Karten untereinander */
@media (max-width: 700px) {
    .rb-my-bookings #rb-my-bookings-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .rb-my-bookings .rb-booking-card {
        padding: 20px;
    }
}


/* ==========================================
   Raumuna – Login-Seite
   ========================================== */

.rb-login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
    box-sizing: border-box;
}

.rb-login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
    box-sizing: border-box;
}

.rb-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
}

.rb-login-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: #2563eb;
    color: #ffffff;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
}

.rb-login-card h1 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.rb-login-card > p {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.rb-login-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rb-login-card form > label:not(.rb-login-remember) {
    margin-top: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-login-card input[type="email"],
.rb-login-card input[type="password"] {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rb-login-card input[type="email"]:focus,
.rb-login-card input[type="password"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.rb-login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 10px 0;
    color: #475569;
    font-size: 13px;
    cursor: pointer;
}

.rb-login-remember input {
    margin: 0;
}

.rb-login-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
    padding: 12px 18px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.rb-login-submit:hover {
    background: #1d4ed8;
}

.rb-login-forgot {
    align-self: center;
    margin-top: 12px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.rb-login-forgot:hover {
    text-decoration: underline;
}

.rb-login-error {
    margin-bottom: 20px;
    padding: 13px 16px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .rb-login-page {
        min-height: auto;
        padding: 24px 12px;
    }

    .rb-login-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .rb-login-card h1 {
        font-size: 25px;
    }
}


/* Login-Seite: WordPress-Seitentitel ausblenden */
body:has(.rb-login-page) .entry-title,
body:has(.rb-login-page) .wp-block-post-title,
body:has(.rb-login-page) .page-title {
    display: none;
}

/* Login-Karte etwas höher positionieren */
.rb-login-page {
    min-height: 75vh;
    padding-top: 20px;
}

/* ==========================================
   RAUMUNA – App-Innenabstand
   Schritt 84.5c
   ========================================== */

.rb-app .rb-app-content {
    box-sizing: border-box;
    min-width: 0;
    padding: 28px !important;
}

@media (max-width: 900px) {
    .rb-app .rb-app-content {
        padding: 16px !important;
    }
}


/* ==========================================
   RAUMUNA – Standortkarten
   Schritt 84.5e
   ========================================== */

.rb-app .rb-app-content .rb-location-card {
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(20, 35, 60, 0.05);
    padding: 24px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .rb-app .rb-app-content .rb-location-card {
        padding: 16px;
        margin-bottom: 16px;
    }
}

/* ==========================================
   RAUMUNA – Standort erstellen
   ========================================== */

.rb-app .rb-app-location-create {
    box-sizing: border-box;
    max-width: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(20, 35, 60, 0.05);
}

.rb-app .rb-app-location-create form {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 900px) {
    .rb-app .rb-app-location-create {
        padding: 16px;
    }
}

/* Standort erstellen – Eingabefelder */

.rb-app .rb-app-location-create input[type="text"],
.rb-app .rb-app-location-create textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.5;
}

.rb-app .rb-app-location-create textarea {
    min-height: 100px;
    resize: vertical;
}

.rb-app .rb-app-location-create input[type="text"]:focus,
.rb-app .rb-app-location-create textarea:focus {
    border-color: #2563eb;
    outline: 3px solid rgba(37, 99, 235, 0.15);
    outline-offset: 1px;
}

.rb-app .rb-app-location-create .rb-app-primary-button {
    box-sizing: border-box;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
}

/* ==========================================
   RAUMUNA – Etagenbearbeitungsformulare
   ========================================== */

.rb-app .rb-app-floor-edit-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin: 16px 0;
}

.rb-app .rb-app-floor-edit-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.rb-app .rb-app-floor-edit-form input[type="text"],
.rb-app .rb-app-floor-edit-form input[type="number"] {
    box-sizing: border-box;
    width: 180px;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 400;
}

.rb-app .rb-app-floor-edit-form input:focus {
    border-color: #2563eb;
    outline: 3px solid rgba(37, 99, 235, 0.15);
    outline-offset: 1px;
}

.rb-app .rb-app-floor-edit-form button[type="submit"] {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .rb-app .rb-app-floor-edit-form input {
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .rb-app .rb-app-floor-edit-form {
        flex-direction: column;
        align-items: stretch;
    }

    .rb-app .rb-app-floor-edit-form label,
    .rb-app .rb-app-floor-edit-form input[type="text"],
    .rb-app .rb-app-floor-edit-form input[type="number"] {
        width: 100%;
    }
}


/* ==========================================
   RAUMUNA – Etagenbearbeitung
   ========================================== */

.rb-app .rb-app-floor-edit-details {
    margin: 8px 0 18px;
}

.rb-app .rb-app-floor-edit-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-floor-edit-toggle::-webkit-details-marker {
    display: none;
}

.rb-app .rb-app-floor-edit-toggle::marker {
    content: "";
}

.rb-app .rb-app-floor-edit-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.rb-app .rb-app-floor-edit-toggle:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

.rb-app .rb-app-floor-edit-details[open] .rb-app-floor-edit-toggle {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

/* ==========================================
   RAUMUNA – Etage löschen
   ========================================== */

.rb-app .rb-app-floor-delete-form {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.rb-app .rb-app-floor-delete-form .rb-app-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff7f7;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-floor-delete-form .rb-app-danger-button:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.rb-app .rb-app-floor-delete-form .rb-app-danger-button:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.25);
    outline-offset: 2px;
}

/* ==========================================
   RAUMUNA – Neue Etage
   ========================================== */

.rb-app .rb-app-floor-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-floor-add-button:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.rb-app .rb-app-floor-add-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 2px;
}

/* ==========================================
   RAUMUNA – Neue Etage: Formular
   ========================================== */

.rb-app .rb-app-floor-create:not([hidden]) {
    margin-top: 18px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.rb-app .rb-app-floor-create[hidden] {
    display: none !important;
}

.rb-app .rb-app-floor-create .rb-app-location-create-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.rb-app .rb-app-floor-create .rb-app-location-create-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    color: #0f172a;
}

.rb-app .rb-app-floor-create .rb-app-form-field {
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .rb-app .rb-app-floor-create:not([hidden]) {
        padding: 16px;
    }
}

/* Neue Etage: Eingabefelder */

.rb-app .rb-app-floor-create .rb-app-form-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-floor-create .rb-app-form-field input {
    display: block;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
}

.rb-app .rb-app-floor-create .rb-app-form-field input:focus {
    border-color: #2563eb;
    outline: 3px solid rgba(37, 99, 235, 0.12);
}

.rb-app .rb-app-floor-create .rb-app-form-field small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .rb-app .rb-app-floor-create .rb-app-form-field input {
        max-width: 100%;
    }
}

/* Neue Etage: Speichern */

.rb-app .rb-app-floor-create .rb-app-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid #2563eb;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-floor-create .rb-app-primary-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.rb-app .rb-app-floor-create .rb-app-primary-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 3px;
}

/* Neue Etage: Formular schließen */

.rb-app #rb-app-floor-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #ffffff;
    color: #64748b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.rb-app #rb-app-floor-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.rb-app #rb-app-floor-close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 2px;
}

/* ==========================================
   RAUMUNA – Standort bearbeiten
   ========================================== */

.rb-app .rb-app-location-edit {
    margin: 16px 0 0;
}

.rb-app .rb-app-location-edit-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-location-edit-toggle::-webkit-details-marker {
    display: none;
}

.rb-app .rb-app-location-edit-toggle::marker {
    content: "";
}

.rb-app .rb-app-location-edit-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.rb-app .rb-app-location-edit-toggle:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

.rb-app .rb-app-location-edit-details[open] .rb-app-location-edit-toggle {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

/* Standort bearbeiten: Formular */

.rb-app .rb-app-location-edit-content {
    margin-top: 14px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.rb-app .rb-app-location-edit-content h3 {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: 18px;
}

@media (max-width: 600px) {
    .rb-app .rb-app-location-edit-content {
        padding: 16px;
    }
}

/* Standort bearbeiten: Eingabefelder */

.rb-app .rb-app-location-edit-content .rb-app-form-field {
    margin-bottom: 18px;
}

.rb-app .rb-app-location-edit-content .rb-app-form-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-location-edit-content input,
.rb-app .rb-app-location-edit-content textarea {
    display: block;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.5;
}

.rb-app .rb-app-location-edit-content textarea {
    min-height: 100px;
    resize: vertical;
}

.rb-app .rb-app-location-edit-content input:focus,
.rb-app .rb-app-location-edit-content textarea:focus {
    border-color: #2563eb;
    outline: 3px solid rgba(37, 99, 235, 0.12);
}

@media (max-width: 600px) {
    .rb-app .rb-app-location-edit-content input,
    .rb-app .rb-app-location-edit-content textarea {
        max-width: 100%;
    }
}

/* Standort bearbeiten: Speichern */

.rb-app .rb-app-location-edit-content .rb-app-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid #2563eb;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-location-edit-content .rb-app-primary-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.rb-app .rb-app-location-edit-content .rb-app-primary-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 3px;
}


/* ==========================================
   RAUMUNA – Standort löschen
   Schritt 84.6b
   ========================================== */

.rb-app .rb-app-location-delete-form {
    margin: 10px 0 24px;
}

.rb-app .rb-app-location-delete-form .rb-app-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff7f7;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.rb-app .rb-app-location-delete-form .rb-app-danger-button:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.rb-app .rb-app-location-delete-form .rb-app-danger-button:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.25);
    outline-offset: 2px;
}


/* ==========================================
   RAUMUNA – Standort erstellen: Feldbreite
   Schritt 84.7d
   ========================================== */

@media (min-width: 901px) {
    .rb-app .rb-app-location-create input[type="text"],
    .rb-app .rb-app-location-create textarea {
        max-width: 720px;
    }
}


/* ==========================================
   RAUMUNA – Raumübersicht
   Schritt 84.8f
   ========================================== */

/* Überschrift und Beschreibung */
.rb-app .rb-app-rooms .rb-app-section-header {
    margin-bottom: 24px;
}

.rb-app .rb-app-rooms .rb-app-page-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #2878b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.rb-app .rb-app-rooms .rb-app-section-header h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.rb-app .rb-app-rooms .rb-app-section-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Raumkarten als Raster */
.rb-app .rb-app-rooms-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Einzelne Raumkarte */
.rb-app .rb-app-room-item {
    min-width: 0;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(20, 35, 60, 0.04);
}

.rb-app .rb-app-room-item strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.rb-app .rb-app-room-item p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Tablet und Smartphone */
@media (max-width: 900px) {
    .rb-app .rb-app-rooms-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .rb-app .rb-app-room-item {
        padding: 16px;
    }

    .rb-app .rb-app-rooms .rb-app-section-header h2 {
        font-size: 21px;
    }
}


/* Raumübersicht – Raum öffnen */
.rb-app .rb-app-room-open {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 9px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.rb-app .rb-app-room-open:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af;
}


/* Raumverwaltung – zurück zur Übersicht */
.rb-app .rb-app-back-to-rooms {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.rb-app .rb-app-back-to-rooms:hover {
    color: #1d4ed8;
    text-decoration: underline;
}


/* Raumverwaltung – Einleitung */
.rb-app .rb-app-rooms-intro {
    margin: 8px 0 12px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================
   Raumverwaltung – Raum bearbeiten
   Schritt 84.8l
   ========================================== */

.rb-app .rb-app-room-edit-details {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.rb-app .rb-app-room-edit-toggle {
    width: fit-content;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rb-app .rb-app-room-edit-toggle:hover {
    color: #1d4ed8;
}

.rb-app .rb-app-room-edit-content {
    margin-top: 18px;
}

.rb-app .rb-app-room-edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-app .rb-app-room-edit-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-room-edit-form input,
.rb-app .rb-app-room-edit-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 400;
}

.rb-app .rb-app-room-edit-form input:focus,
.rb-app .rb-app-room-edit-form textarea:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

.rb-app .rb-app-room-save-button {
    align-self: flex-start;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rb-app .rb-app-room-save-button:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}

.rb-app .rb-app-room-edit-hint {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}


/* Raumverwaltung – Speicherrückmeldungen */

.rb-app .rb-app-room-message,
.rb-app .rb-app-room-error {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.rb-app .rb-app-room-message {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.rb-app .rb-app-room-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.rb-app .rb-app-room-save-button:not(:disabled):hover {
    background: #1d4ed8;
}


/* ==========================================
   Raumverwaltung – Raum anlegen
   Schritt 84.8q
   ========================================== */

.rb-app .rb-app-room-create-details {
    margin-bottom: 24px;
}

.rb-app .rb-app-room-create-toggle {
    display: inline-flex;
    align-items: center;
    padding: 11px 17px;
    border: 1px solid #2563eb;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.rb-app .rb-app-room-create-toggle::-webkit-details-marker {
    display: none;
}

.rb-app .rb-app-room-create-toggle:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.rb-app .rb-app-room-create-content {
    margin-top: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.rb-app .rb-app-room-create-content p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* Raumverwaltung – Formular für neue Räume */

.rb-app .rb-app-room-create-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.rb-app .rb-app-room-create-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-room-create-form input,
.rb-app .rb-app-room-create-form select,
.rb-app .rb-app-room-create-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 400;
}

.rb-app .rb-app-room-create-form input:focus,
.rb-app .rb-app-room-create-form select:focus,
.rb-app .rb-app-room-create-form textarea:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

.rb-app .rb-app-room-create-hint {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

/* ==========================================
   Raumverwaltung – Neuen Raum anlegen
   Schritt 84.8r
   ========================================== */

.rb-app .rb-app-room-create-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.rb-app .rb-app-room-create-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-room-create-form input,
.rb-app .rb-app-room-create-form select,
.rb-app .rb-app-room-create-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 400;
}

.rb-app .rb-app-room-create-form input:focus,
.rb-app .rb-app-room-create-form select:focus,
.rb-app .rb-app-room-create-form textarea:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

.rb-app .rb-app-room-create-form textarea {
    resize: vertical;
    min-height: 90px;
}

.rb-app .rb-app-room-create-form .rb-app-room-save-button {
    align-self: flex-start;
}

.rb-app .rb-app-room-create-hint {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}


/* ==========================================
   Raumverwaltung – Raum löschen
   Schritt 84.8t
   ========================================== */

.rb-app .rb-app-room-delete-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.rb-app .rb-app-room-delete-toggle {
    width: fit-content;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rb-app .rb-app-room-delete-toggle:hover {
    color: #991b1b;
}

.rb-app .rb-app-room-delete-content {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff7f7;
}

.rb-app .rb-app-room-delete-content p {
    margin: 0 0 12px;
    color: #334155;
    font-size: 13px;
    line-height: 1.6;
}

.rb-app .rb-app-room-delete-warning {
    color: #991b1b !important;
}

.rb-app .rb-app-room-delete-button {
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    background: #dc2626;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-room-delete-button:disabled {
    background: #fca5a5;
    cursor: not-allowed;
}

.rb-app .rb-app-room-delete-hint {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
}


/* Raumverwaltung – Löschbutton aktiv */

.rb-app .rb-app-room-delete-form {
    margin-top: 16px;
}

.rb-app .rb-app-room-delete-button:not(:disabled) {
    cursor: pointer;
}

.rb-app .rb-app-room-delete-button:not(:disabled):hover {
    background: #b91c1c;
}


/* ==========================================
   Raumverwaltung – Raumanzahl pro Standort
   Schritt 84.8u
   ========================================== */

.rb-app .rb-app-room-location-count {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.rb-app .rb-app-room-location-count-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #2563eb;
}



/* ==========================================
   Raumverwaltung – Standortfilter
   Schritt 84.8v
   ========================================== */

.rb-app .rb-app-room-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    max-width: 320px;
}

.rb-app .rb-app-room-filter label {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.rb-app .rb-app-room-filter select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    cursor: pointer;
}

.rb-app .rb-app-room-filter select:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}


/* Raumverwaltung – Standortfilter */

.rb-app .rb-app-room-item[hidden] {
    display: none !important;
}


/* Raumverwaltung – Anzahl gefilterter Räume */

.rb-app .rb-app-room-filter-count {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.rb-app .rb-app-room-filter-count span {
    font-weight: 600;
    color: #334155;
}


/* ==========================================
   Raumverwaltung – Raumsuche
   Schritt 84.8w
   ========================================== */

.rb-app .rb-app-room-filter input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
}

.rb-app .rb-app-room-filter input[type="search"]:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

.rb-app .rb-app-room-filter input[type="search"]::placeholder {
    color: #94a3b8;
}

/* ==========================================
   Raumverwaltung – Keine Suchergebnisse
   Schritt 84.8w
   ========================================== */

.rb-app .rb-app-room-no-results {
    padding: 30px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

.rb-app .rb-app-room-no-results[hidden] {
    display: none !important;
}

.rb-app .rb-app-room-no-results p {
    margin: 0 0 8px;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
}

.rb-app .rb-app-room-no-results span {
    color: #64748b;
    font-size: 13px;
}

.rb-app-bookings-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rb-app-bookings-table {
    min-width: 950px;
    border-collapse: collapse;
}

/* Buchungsverwaltung – Tabellendarstellung */

.rb-app-bookings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rb-app-bookings-table th,
.rb-app-bookings-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.rb-app-bookings-table thead th {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

.rb-app-bookings-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.rb-app-bookings-table tbody tr:hover {
    background: #eef2ff;
}


/* Buchungsverwaltung – Filterbereich */

.rb-app-bookings-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.rb-app-bookings-filter label {
    font-size: 14px;
    font-weight: 500;
}

.rb-app-bookings-filter input,
.rb-app-bookings-filter select {
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

.rb-app-bookings-filter button {
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 14px;
}

.rb-app-bookings-filter button:hover {
    background: #e5e7eb;
}


/* Buchungsverwaltung – Filterbeschriftungen */

.rb-app-bookings-filter {
    align-items: flex-end;
}

.rb-app-bookings-filter label {
    display: block;
    margin-bottom: 4px;
}

.rb-app-bookings-filter input,
.rb-app-bookings-filter select {
    display: block;
}


.rb-app-bookings-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rb-app-bookings-filter-field label {
    margin-bottom: 0;
}


/* Buchungsverwaltung – Zurücksetzen-Button */

.rb-app-bookings-filter {
    align-items: flex-end;
}

.rb-app-bookings-filter > button {
    align-self: flex-end;
    margin-bottom: 0;
}


/* Buchungsverwaltung – Stornieren-Button */

.rb-admin-cancel-booking {
    background-color: #fff;
    color: #b42318;
    border: 1px solid #f0b4ae;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.rb-admin-cancel-booking:hover {
    background-color: #fff0ee;
    border-color: #b42318;
}

.rb-admin-cancel-booking:focus-visible {
    outline: 2px solid #b42318;
    outline-offset: 2px;
}

.rb-admin-cancel-booking:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Buchungsverwaltung – Erfolgsmeldung */

.rb-bookings-action-message {
    background-color: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 14px;
    font-weight: 500;
}

.rb-bookings-action-message[hidden] {
    display: none;
}


/* Buchungsverwaltung – Fehlermeldung */

.rb-bookings-action-message.rb-bookings-message-error {
    background-color: #fef3f2;
    color: #b42318;
    border-color: #fecdca;
}


/* Buchungsverwaltung – Buchungszähler */

#rb-bookings-count {
    margin: 12px 0;
    color: #475467;
    font-size: 14px;
    font-weight: 500;
}

#rb-bookings-count[hidden] {
    display: none;
}


/* Organisationsverwaltung – Informationsbereich */

.rb-app-organization {
    max-width: 800px;
}

.rb-app-organization h2 {
    margin-bottom: 24px;
}

.rb-app-organization > p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.rb-app-organization p strong {
    display: inline-block;
    min-width: 180px;
    color: #344054;
}


/* Organisationsverwaltung – Informationskarte */

.rb-organization-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px;
    max-width: 650px;
}

.rb-organization-card p {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    margin: 0 0 16px;
    line-height: 1.5;
}

.rb-organization-card #rb-organization-name {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
}


/* Organisation – Smartphone-Ansicht */

@media (max-width: 600px) {

    .rb-organization-card {
        padding: 18px;
    }

    .rb-organization-card p {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .rb-organization-card p strong {
        min-width: 0;
    }

    .rb-organization-card #rb-organization-name {
        max-width: 100%;
    }

    .rb-app-organization #rb-organization-save {
        width: 100%;
    }

}

.rb-organization-card p:last-child {
    margin-bottom: 0;
}

/* Organisation – Speichern-Button */

.rb-app-organization #rb-organization-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 10px 20px;
    min-height: 42px;
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rb-app-organization #rb-organization-save:hover:not(:disabled) {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.rb-app-organization #rb-organization-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Organisation – Speichermeldung */

.rb-app-organization #rb-organization-save-message {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #344054;
}

.rb-app-organization #rb-organization-save-message:empty {
    display: none;
}

.rb-app-organization #rb-organization-save-message.is-success {
    color: #15803d;
}

.rb-app-organization #rb-organization-save-message.is-error {
    color: #b91c1c;
}

/* Organisation – Firmenstammdaten und AVV */

.rb-legal-settings-card {
    max-width: 650px;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.rb-legal-settings-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.rb-legal-settings-kicker {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rb-legal-settings-card h2 {
    margin: 0;
    color: #17243b;
    font-size: 21px;
}

.rb-legal-settings-status {
    padding: 7px 10px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.rb-legal-settings-status.is-complete {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.rb-legal-settings-status.is-open {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.rb-legal-settings-copy {
    margin: 18px 0;
    color: #526079;
    font-size: 14px;
    line-height: 1.6;
}

.rb-legal-settings-form {
    display: grid;
    gap: 15px;
}

.rb-legal-settings-form > label,
.rb-legal-settings-row label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 650;
}

.rb-legal-settings-form input[type="text"] {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: #17243b;
    font: inherit;
}

.rb-legal-settings-form input:focus {
    border-color: #2563eb;
    outline: 3px solid #dbeafe;
}

.rb-legal-settings-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
}

.rb-legal-settings-form .rb-legal-avv-confirmation {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    padding: 15px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    background: #eff6ff;
    font-weight: 500;
    line-height: 1.55;
}

.rb-legal-avv-confirmation input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #2563eb;
}

.rb-legal-avv-confirmation a,
.rb-legal-avv-details a {
    color: #1d4ed8;
}

.rb-legal-avv-details {
    display: grid;
    gap: 5px;
    padding: 15px;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
    line-height: 1.55;
}

#rb-legal-save {
    justify-self: start;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

#rb-legal-save:disabled {
    opacity: .6;
    cursor: wait;
}

#rb-legal-save-message {
    margin: 0;
    font-size: 13px;
}

#rb-legal-save-message:empty {
    display: none;
}

#rb-legal-save-message.is-success { color: #15803d; }
#rb-legal-save-message.is-error { color: #b91c1c; }

.rb-app-avv-required {
    display: grid;
    gap: 5px;
    margin-bottom: 20px;
    padding: 15px 17px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.55;
}

.rb-app-avv-required a {
    color: #9a3412;
    font-weight: 700;
}

/* Organisation – Datenschutz-Selbstverwaltung */

.rb-privacy-card {
    max-width: 650px;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #ffffff;
}

.rb-privacy-kicker {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rb-privacy-card h2 {
    margin: 0;
    color: #17243b;
    font-size: 21px;
}

.rb-privacy-card h3 {
    margin: 0 0 7px;
    color: #17243b;
    font-size: 16px;
}

.rb-privacy-card p {
    margin: 0;
    color: #526079;
    font-size: 13px;
    line-height: 1.65;
}

.rb-privacy-message {
    margin-top: 17px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.55;
}

.rb-privacy-message.is-success { background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
.rb-privacy-message.is-warning { background:#fff7ed; border-color:#fed7aa; color:#9a3412; }
.rb-privacy-message.is-error { background:#fef2f2; border-color:#fecaca; color:#b91c1c; }

.rb-privacy-export {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.rb-privacy-export-button,
.rb-deletion-cancel-button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #ffffff;
    color: #1d4ed8;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.rb-privacy-export-button:hover,
.rb-deletion-cancel-button:hover {
    background: #eff6ff;
}

.rb-privacy-divider {
    height: 1px;
    margin: 22px 0;
    background: #e4e7ec;
}

.rb-deletion-request {
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fffafa;
}

.rb-deletion-request summary {
    padding: 14px 16px;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.rb-deletion-request-content {
    display: grid;
    gap: 13px;
    padding: 0 16px 17px;
}

.rb-deletion-request-content form {
    display: grid;
    gap: 14px;
}

.rb-deletion-request-content label:not(.rb-deletion-confirmation) {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 13px;
}

.rb-deletion-request-content input[type="text"] {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
}

.rb-deletion-confirmation {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    color: #7f1d1d;
    font-size: 13px;
    line-height: 1.5;
}

.rb-deletion-confirmation input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #b91c1c;
}

.rb-deletion-request-button {
    justify-self: start;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #b91c1c;
    border-radius: 8px;
    background: #b91c1c;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.rb-deletion-pending {
    display: grid;
    gap: 10px;
    padding: 17px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
}

.rb-deletion-pending-label {
    justify-self: start;
    padding: 5px 8px;
    border-radius: 999px;
    background: #ffedd5;
    color: #9a3412;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.rb-deletion-pending form { margin-top: 3px; }

@media (max-width: 600px) {
    .rb-privacy-card { padding: 18px; }
    .rb-privacy-export { grid-template-columns: 1fr; }
    .rb-privacy-export-button,
    .rb-deletion-cancel-button,
    .rb-deletion-request-button { width: 100%; }
}

@media (max-width: 600px) {
    .rb-legal-settings-card { padding: 18px; }
    .rb-legal-settings-heading { flex-direction: column; gap: 10px; }
    .rb-legal-settings-row { grid-template-columns: 1fr; }
    #rb-legal-save { width: 100%; }
}

/* Organisation – E-Mail-Zustellung */

.rb-mail-settings-card {
    max-width: 650px;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.rb-mail-settings-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.rb-mail-settings-kicker {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rb-mail-settings-card h2 {
    margin: 0;
    color: #17243b;
    font-size: 21px;
}

.rb-mail-settings-status {
    padding: 7px 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.rb-mail-settings-copy,
.rb-mail-settings-note {
    color: #526079;
    font-size: 14px;
    line-height: 1.6;
}

.rb-mail-settings-copy {
    margin: 18px 0;
}

.rb-mail-settings-details {
    margin: 0 0 20px;
    border-top: 1px solid #edf0f5;
}

.rb-mail-settings-details > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
}

.rb-mail-settings-details dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.rb-mail-settings-details dd {
    min-width: 0;
    margin: 0;
    color: #17243b;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.rb-mail-test-message {
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.rb-mail-test-message.is-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.rb-mail-test-message.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.rb-mail-test-form {
    margin: 0;
}

.rb-mail-test-button {
    min-height: 42px;
    padding: 10px 18px;
    background: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 8px;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.rb-mail-test-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.rb-mail-test-button:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

.rb-mail-settings-note {
    margin: 16px 0 0;
}

@media (max-width: 600px) {
    .rb-mail-settings-card {
        padding: 18px;
    }

    .rb-mail-settings-heading {
        flex-direction: column;
        gap: 10px;
    }

    .rb-mail-settings-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .rb-mail-test-button {
        width: 100%;
    }
}

/* ============================================================
   APP – ADMIN DASHBOARD KENNZAHLEN
   ============================================================ */

.rb-app-admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* Einheitliche Administrator-Kennzahlenkarten */

.rb-app-admin-stats .rb-app-stat-card {
    min-width: 0;
    min-height: 150px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    padding: 24px;
}

.rb-app-admin-stats .rb-app-stat-label {
    display: block;
    margin-bottom: 12px;
}

.rb-app-admin-stats .rb-app-stat-value {
    line-height: 1.1;
    margin-bottom: 10px;
}

.rb-app-admin-stats .rb-app-stat-description {
    display: block;
    margin-top: auto;
    line-height: 1.5;
}

/* Administrator-Kennzahlen als Schnellzugriff */

.rb-app-admin-stats .rb-app-admin-stat-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rb-app-admin-stats .rb-app-admin-stat-link:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.10);
}

.rb-app-admin-stats .rb-app-admin-stat-link:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

/* Tablets */
@media (max-width: 1100px) {
    .rb-app-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .rb-app-admin-stats {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   APP – BUCHUNGSSTATUS
   ============================================================ */

.rb-booking-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.rb-booking-status-upcoming {
    background: #dbeafe;
    color: #1d4ed8;
}

.rb-booking-status-active {
    background: #dcfce7;
    color: #166534;
}

.rb-booking-status-past {
    background: #f1f5f9;
    color: #475569;
}

.rb-booking-status-unknown {
    background: #fef3c7;
    color: #92400e;
}

.rb-booking-completed {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}


.rb-bookings-actions [hidden] {
    display: none !important;
}


.rb-bookings-sort-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.rb-bookings-sort-button:hover {
    color: #2563eb;
}

.rb-bookings-sort-button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 3px;
}

#rb-bookings-sort-date-icon {
    font-size: 14px;
    font-weight: 700;
}

#rb-bookings-sort-employee-icon {
    font-size: 14px;
    font-weight: 700;
}


#rb-bookings-sort-location-icon {
    font-size: 14px;
    font-weight: 700;
}

#rb-bookings-sort-start-icon {
    font-size: 14px;
    font-weight: 700;
}


#rb-bookings-sort-status-icon {
    font-size: 14px;
    font-weight: 700;
}

.rb-bookings-result-count {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.rb-bookings-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    margin: 0 0 16px;
    border: 1px solid #2563eb;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rb-bookings-export-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.rb-bookings-export-button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}



/* Tarifseite und Zahlungsverwaltung (bisher inline in raumbuchung.php). */
.rb-app-plans .rb-billing-test{display:inline-block;margin:0 0 16px;padding:6px 11px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:13px;font-weight:600}
.rb-app-plans .rb-billing-live{background:#dcfce7;color:#166534}
.rb-app-plans .rb-billing-notice{padding:18px 20px;margin:0 0 14px;border:1px solid;border-radius:12px;line-height:1.55}
.rb-app-plans .rb-billing-notice strong{display:block;font-size:16px}
.rb-app-plans .rb-billing-notice p{margin:6px 0 0;font-size:14px}
.rb-app-plans .rb-billing-info{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}
.rb-app-plans .rb-billing-success{background:#f0fdf4;border-color:#bbf7d0;color:#14532d}
.rb-app-plans .rb-billing-warning{background:#fffbeb;border-color:#fde68a;color:#78350f}
.rb-app-plans .rb-billing-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 24px}
.rb-app-plans .rb-billing-form{margin:12px 0 0}
.rb-app-plans .rb-billing-actions .rb-billing-form{margin:0}
.rb-app-plans .rb-billing-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:11px 16px;border:1px solid #1d4ed8;border-radius:9px;background:#1d4ed8;color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;white-space:normal;text-align:center}
.rb-app-plans .rb-billing-button:hover{background:#1e40af;border-color:#1e40af;color:#fff}
.rb-app-plans .rb-billing-button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.rb-app-plans .rb-billing-secondary{background:#fff;color:#1d4ed8;border-color:#cbd5e1}
.rb-app-plans .rb-billing-secondary:hover{background:#eff6ff;color:#1e40af;border-color:#93c5fd}
.rb-app-plans .rb-billing-current{color:#1d4ed8;font-weight:700}
.rb-app-plans .rb-billing-help{font-size:14px;color:#475569;line-height:1.5}
@media(max-width:600px){.rb-app-plans .rb-billing-actions{align-items:stretch;flex-direction:column}.rb-app-plans .rb-billing-actions .rb-billing-button{width:100%}}

/* Company onboarding: dashboard only. */
.rb-onboarding { margin: 0 0 28px; border: 1px solid #dbe3ee; border-radius: 16px; background: #fff; color: #17243b; overflow: hidden; }
.rb-onboarding summary { padding: 22px 24px; cursor: pointer; font-size: 19px; font-weight: 700; }
.rb-onboarding summary:focus-visible, .rb-onboarding a:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.rb-onboarding-count { display: inline-block; margin-left: 16px; font-size: 13px; font-weight: 500; color: #526079; }
.rb-onboarding-body { padding: 0 24px 12px; }
.rb-onboarding-body > p { margin: 0 0 16px; color: #526079; }
.rb-onboarding progress { width: 100%; height: 9px; accent-color: #2563eb; }
.rb-onboarding ol { list-style: none; margin: 16px 0 0; padding: 0; }
.rb-onboarding li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid #edf0f5; }
.rb-onboarding-marker { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: #edf2fa; font-weight: 700; }
.rb-onboarding .is-complete .rb-onboarding-marker { background: #dcfce7; color: #166534; }
.rb-onboarding-copy { flex: 1; min-width: 0; }
.rb-onboarding-copy p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #526079; }
.rb-onboarding a { color: #1d4ed8; font-size: 14px; font-weight: 600; white-space: nowrap; }
.rb-onboarding-status { color: #526079; font-size: 12px; max-width: 140px; }
.rb-onboarding .is-complete .rb-onboarding-status { color: #166534; }
@media (max-width: 640px) {
    .rb-onboarding summary { padding: 18px 16px; }
    .rb-onboarding-count { display: block; margin: 8px 0 0; }
    .rb-onboarding-body { padding: 0 16px 8px; }
    .rb-onboarding li { flex-wrap: wrap; gap: 10px; }
    .rb-onboarding-copy { flex-basis: calc(100% - 44px); }
    .rb-onboarding li > a, .rb-onboarding-status { margin-left: 42px; max-width: none; }
}
/* Tarifkontingente */
.rb-plan-limit-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 16px 0;
    padding: 16px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a8a;
}

.rb-plan-limit-warning {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
}

.rb-plan-limit-reached,
.rb-plan-limit-exceeded {
    border-color: #fdba74;
    background: #fff7ed;
    color: #9a3412;
}

.rb-plan-limit-copy {
    display: grid;
    gap: 4px;
}

.rb-plan-limit-copy span {
    font-size: 14px;
    line-height: 1.5;
}

.rb-plan-limit-action {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.rb-plan-limit-action:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (max-width: 700px) {
    .rb-plan-limit-alert {
        align-items: stretch;
        flex-direction: column;
    }

    .rb-plan-limit-action {
        text-align: center;
    }
}
