/*
|--------------------------------------------------------------------------
| RAUMBUCHUNG – 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: #2271b1;
}

.rb-booking-app .rb-booking-filter-field select:focus {
    border-color: #2271b1;

    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: #2271b1;

    box-shadow:
        inset 3px 0 0 #2271b1;
}


/*
|--------------------------------------------------------------------------
| 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: #135e96;
}


/*
|--------------------------------------------------------------------------
| 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: #2271b1;

    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 #2271b1;
    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: #2271b1;

    border: 1px solid #2271b1;
    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: #135e96;

    border-color: #135e96;

    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: #2271b1;
}


/*
 * 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: #2271b1;

    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: #135e96;

    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: #2271b1;

    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: #135e96;

    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 #2271b1;
    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: #2271b1;

    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: #2271b1;
}


/*
 * 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: #2271b1;

    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: #2271b1;
}


/*
 * 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: #2271b1;

    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: #2271b1;
    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: #2271b1;
    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-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    padding: 10px 20px;
    border: 0;
    border-radius: 9px;
    background: #2271b1;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition:
        background .15s ease,
        transform .15s ease;
}

.rb-register-submit:hover {
    background: #135e96;
}

.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: #2271b1;
    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: #2271b1;
}

.rb-setup-progress-item.is-active span {
    background: #2271b1;
    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: #2271b1;
    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: #2271b1;
    color: #fff !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.rb-setup-primary:hover {
    background: #135e96;
}

.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: #2271b1;
}

.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: #2271b1;
    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;
    }
}


/*
|--------------------------------------------------------------------------
| RAUMBUCHUNG 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: #2271b1;
    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: #135e96 !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: #135e96;
    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: #2271b1;
    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: #2271b1;
    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;
}


