.availability-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 51, 51, 0.78);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease-in-out;
}

.availability-loading-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

.availability-loading-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    color: #222;
    font-size: 18px;
    font-weight: 600;
}

.availability-loading-spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.14);
    border-top-color: rgba(0, 0, 0, 0.72);
    animation: availability-spin 0.8s linear infinite;
}

.availability-loading-text {
    letter-spacing: 0.01em;
}

body.is-loading-availability {
    overflow: hidden;
}

@keyframes availability-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floorplan-stage {
    position: relative;
    width: 100%;
    margin-left: 0;
}

.floorplan-stage img {
    display: block;
    width: 100%;
    height: auto;
}

.floorplan-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.floorplan-overlay svg {
    display: block;
    width: 100%;
    height: 100%;
}

.floorplan-hotspot {
    fill: transparent;
    stroke: transparent;
    stroke-width: 0;
    cursor: pointer;
    pointer-events: all;
}

.floorplan-hotspot.status-green,
.legend-swatch.status-green {
    fill: rgba(72, 170, 72, 0.62);
    stroke: rgba(48, 128, 48, 1);
    stroke-width: 2;
}

.floorplan-hotspot.status-yellow,
.legend-swatch.status-yellow {
    fill: rgba(240, 196, 63, 0.68);
    stroke: rgba(181, 128, 23, 1);
    stroke-width: 2;
}

.floorplan-hotspot.status-red,
.legend-swatch.status-red {
    fill: rgba(204, 68, 68, 0.62);
    stroke: rgba(160, 28, 28, 1);
    stroke-width: 2;
}

.floorplan-hotspot.status-unknown {
    fill: rgba(120, 120, 120, 0.28);
    stroke: rgba(120, 120, 120, 0.8);
    stroke-width: 2;
}

.floorplan-hotspot:not(.status-green):not(.status-yellow):not(.status-red):focus,
.floorplan-hotspot:not(.status-green):not(.status-yellow):not(.status-red):hover {
    fill: rgba(0, 0, 0, 0.04);
    stroke: rgba(0, 0, 0, 0.25);
    stroke-width: 2;
    outline: none;
}

.floorplan-hotspot.is-disabled {
    cursor: default;
    pointer-events: none;
}

.floorplan-hotspot.is-selected {
    stroke: rgba(0, 0, 0, 1);
    stroke-width: 5;
}

.floorplan-hotspot.status-green,
.floorplan-hotspot.status-yellow,
.floorplan-hotspot.status-red,
.floorplan-hotspot.status-unknown {
    fill-opacity: 1;
    stroke-opacity: 1;
}

.floorplan-hotspot.status-green:hover,
.floorplan-hotspot.status-yellow:hover,
.floorplan-hotspot.status-red:hover,
.floorplan-hotspot.status-unknown:hover {
    filter: brightness(0.9);
}

.workspace-side-panel {
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
}

.workspace-side-panel-placeholder {
    color: #666;
    font-size: 14px;
}

.workspace-calendar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.workspace-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.workspace-calendar-month {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.workspace-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.workspace-calendar-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
    padding-bottom: 2px;
}

.workspace-calendar-day {
    position: relative;
    min-height: 52px;
    padding: 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #f8f8f8;
    color: #222;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.workspace-calendar-day.is-empty {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
}

.workspace-calendar-day-number {
    position: absolute;
    top: 6px;
    left: 6px;
}

.workspace-calendar-day.status-green {
    background: rgba(72, 170, 72, 0.62);
    border-color: rgba(48, 128, 48, 1);
}

.workspace-calendar-day.status-yellow {
    background: rgba(240, 196, 63, 0.68);
    border-color: rgba(181, 128, 23, 1);
}

.workspace-calendar-day.status-red {
    background: rgba(204, 68, 68, 0.62);
    border-color: rgba(160, 28, 28, 1);
}

.workspace-calendar-day.status-unknown {
    background: rgba(120, 120, 120, 0.28);
    border-color: rgba(120, 120, 120, 0.8);
}

.workspace-calendar-day.is-selected {
    border-color: #111;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.95),
        0 0 0 6px rgba(17, 17, 17, 0.9),
        0 10px 18px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px) scale(1.03);
    z-index: 2;
}

.workspace-calendar-day.is-selected:hover {
    filter: brightness(1);
    transform: translateY(-1px) scale(1.04);
}

.workspace-calendar-day.status-green:hover,
.workspace-calendar-day.status-yellow:hover,
.workspace-calendar-day.status-red:hover,
.workspace-calendar-day.status-unknown:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}

.workspace-calendar-note {
    color: #666;
    font-size: 12px;
}

.workspace-calendar-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.workspace-calendar-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.workspace-calendar-date-row .workspace-calendar-info-value {
    flex: 1 1 auto;
    min-width: 0;
}

.workspace-calendar-refresh {
    flex: 0 0 auto;
    white-space: nowrap;
}

.workspace-calendar-info-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
}

.workspace-calendar-info-value {
    min-height: 24px;
    color: #222;
    font-size: 14px;
    line-height: 1.45;
}

.workspace-calendar-room {
    color: #222;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.workspace-schedule-list {
    margin: 0;
    padding-left: 18px;
}

.is-hidden {
    display: none !important;
}

.workspace-schedule-list li + li {
    margin-top: 4px;
}

.workspace-schedule-subject {
    color: #666;
    font-weight: 400;
}

.workspace-schedule-pending {
    color: #9a6700;
    font-weight: 700;
}

.workspace-invite-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workspace-invite-allday-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

.workspace-invite-panel.is-hidden {
    display: none;
}

.workspace-invite-form .form-group {
    margin-bottom: 0;
}

.workspace-invite-form .row {
    margin-left: -5px;
    margin-right: -5px;
}

.workspace-invite-form .row > [class^="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

.workspace-invite-form .form-control {
    width: 100%;
}

.workspace-invite-result {
    min-height: 20px;
    font-size: 13px;
    line-height: 1.35;
}
