﻿label {
    cursor: default !important;
}

.modal-backdrop {
    background-color: rgba(255, 255, 255, 0.3) !important; /* very light white */
}

.w-100 {
    width: 100px;
    min-width: 100px;
}

.w-200 {
    width: 200px;
    min-width: 200px;
}

.w-300 {
    width: 300px !important;
    min-width: 200px !important;
}

.page-link {
    color: #0c356a !important;
}


.page-header .logo-wrapper {
    background-color: transparent;
}

    .page-header .logo-wrapper .close-btn {
        background-color: #b1d5cf;
        color: var(--theme-default);
    }

        .page-header .logo-wrapper .close-btn .svg-color {
            stroke: var(--theme-default);
        }

        .page-header .logo-wrapper .close-btn:hover {
            background-color: rgba(48, 142, 135, 0.2);
        }

.tree-children {
    overflow: hidden;
    max-height: 1000px; /* large enough value */
    transition: max-height 0.3s ease;
}

    .tree-children.collapsed {
        max-height: 0;
    }

.nav-tabs {
    list-style: none !important;
    padding-left: 0;
}

.mytable th {
    text-align: center !important;
}

div.dataTables_wrapper div.dataTables_length select {
    width: 70px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    list-style: none !important;
}

.dataTables_wrapper .dataTables_paginate {
    border: 0 !important;
}

.page-link.active, .active > .page-link {
    background-color: #e5eeee;
    border: 0 !important;
}

.pagination .active .page-link {
    color: #ffffff;
}

.page-link {
    font-size: 11px !important;
}

    .page-link:hover {
        border: 0 !important;
    }

div.dataTables_filter {
    text-align: left !important;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 0px !important;
}

div.dt-buttons {
    float: right;
}


.btn-light {
    color: #000000 !important;
}

/* Target the collection dropdown shown */
div.dt-button-collection {
    left: auto !important;
    right: 0 !important; /* Force right-alignment of the dropdown itself */
}

    /* Optional: align the arrow */
    div.dt-button-collection:before {
        right: 10px;
        left: auto;
    }

.dt-button-collection .dropdown-item:hover {
    background-color: #ebebeb; /* Bootstrap primary blue */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease;
}

.export-btn-left {
    background-color: #0d6efd; /* Bootstrap primary blue */
    color: white;
    border: none;
    border-radius: 0.375rem; /* slightly rounded corners */
    padding: 0.375rem 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .export-btn-left:hover,
    .export-btn-left:focus {
        background-color: #0842c5; /* darker blue on hover/focus */
        color: white;
        outline: none;
        text-decoration: none;
    }

    .export-btn-left i {
        margin-right: 0.5rem; /* spacing between icon and text */
    }

/* Minimal pagination style */
.dataTables_paginate .paginate_button {
    color: #0d6efd; /* Bootstrap primary blue */
    background: transparent; /* No background */
    border: none; /* No border */
    padding: 4px 0px;
    margin: 0 2px;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
}

    .dataTables_paginate .paginate_button:hover {
        color: #0a58ca; /* Darker blue on hover */
        text-decoration: none;
        border: 0 !important;
    }

    .dataTables_paginate .paginate_button.current {
        border: 0 !important;
        color: white !important;
        background-color: #0d6efd;
        border-radius: 4px;
        cursor: default;
        font-weight: 700;
    }

    .dataTables_paginate .paginate_button.disabled {
        color: #6c757d !important; /* muted gray */
        cursor: default !important;
    }

.tree-node {
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 5px;
}

    .tree-node:hover {
        background-color: #f1f1f1;
    }

    .tree-node.selected {
        background-color: #d6e8e7;
        color: darkblue;
    }

#contextMenu li:hover {
    background-color: #eee;
}

.toggle-icon {
    cursor: pointer;
    width: 20px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    user-select: none;
}

.toggle-icon-placeholder {
    width: 20px;
    display: inline-block;
}

.tree-children {
    margin-left: 20px;
}

#parentNodeName {
    background: #f4f4f4;
    padding: 5px 10px;
    border-radius: 4px;
}

#contextMenu {
    position: absolute;
    z-index: 1000;
    display: block;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

    #contextMenu ul li:hover {
        background-color: #f0f0f0;
    }

.menu-separator {
    border: 1px solid #c5dcda;
}

.img-preview {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.img-preview-thumb {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
}

.input-validation-error {
    border-color: #dc3545 !important; /* Bootstrap red */
    /*box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);*/
}

.bg-light-grey {
    background-color: #eae8e8;
}

.checkbox-list {
    padding-left: 30px;
}

.tree-container {
    min-height: 60vh !important;
    height: 70vh !important;
    overflow-y: auto;
}


.label-display {
    display: inline-block;
    width: 100%;
    min-height: 38px; /* same as Bootstrap input height */
    padding: 8px 12px;
    border: 1px solid #ccc;
    background-color: #f8f9fa; /* light gray */
    color: #495057; /* dark gray text */
    border-radius: 4px;
    vertical-align: middle;
    line-height: 1.5;
    cursor: default;
}

.col-checkbox {
    width: 35px;
    max-width: 35px;
    text-align: center;
    vertical-align: middle;
}

    /* Optional: reduce padding inside checkbox cells */
    .col-checkbox input[type="checkbox"] {
        transform: scale(1.1);
        margin: 0;
    }


#tblAssignRooms th:first-child.sorting:before,
#tblAssignRooms th:first-child.sorting:after {
    display: none !important;
}


.tbl-list tbody tr {
    height: 32px !important;
    padding: 0 !important;
}

table.dataTable input, table.dataTable select {
    height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.modal-content {
    font-size: 13px !important;
}

.dataTables_wrapper table.dataTable th, .dataTables_wrapper table.dataTable td {
    padding-top: 7px !important;
    padding-bottom: 5px !important;
}

.div-roomlist {
    max-height: 60vh !important;
    overflow: hidden;
}

.tbl-list thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa; /* Light background for visibility */
    z-index: 2;
}

table.dataTable {
    width: 100% !important;
}

#tblAssignRooms thead {
    display: none !important;
}

/* For resource timeline view */
.fc-resource {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* For multiple calendars */
.room-calendar {
    height: 500px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    background: white;
}

/* Wrap event title inside day cell */
.fc-event-title,
.fc-event-time {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Optional: Increase space in day grid event box */
.fc-daygrid-event {
    padding: 2px 4px;
    font-size: 0.85em;
    line-height: 1.2;
}

.fc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

.fc-toolbar-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.fc-daygrid-event {
    border-radius: 4px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Example of coloring based on class */
.fc-event.confirmed {
    background-color: #28a745 !important;
    color: white;
}

.fc-event.pending {
    background-color: #ffc107 !important;
    color: black;
}

.fc-day-today {
    background-color: #e9f5ff !important;
    border: 2px solid #3b82f6;
}

.fc-daygrid-event {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.flatpickr-calendar {
    z-index: 99;
}

    .flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
        background-color: #f3f3f3;
    }

.hasTime {
    width: 180px !important;
}

.flatpickr-hour {
    width: 50px !important;
    font-size: 14px;
    background-color: #dee2e6;
}

.flatpickr-minute {
    width: 50px !important;
    font-size: 14px;
}

.flatpickr-am-pm {
    width: 50px !important;
    font-size: 14px;
}

.flatpickr-time .flatpickr-hour,
.flatpickr-time .flatpickr-minute,
.flatpickr-time .flatpickr-am-pm {
    font-size: 12px;
    line-height: 1.2;
    padding: 2px 4px;
}

.modal-body .form-control {
    padding: 6px 12px !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    padding: 6px;
}

/*#calendar {
    min-height: 600px; 
}*/
#calendar-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.booking-header-accent {
    height: 5px;
    width: 100%;
    background-color: var(--booking-color);
}

.mb-3 {
    margin-bottom: 0.5rem !important;
}

.form-label {
    margin-bottom: 0.3rem;
}

.select2 span {
    display: block;
}

.row {
    margin-bottom: 0.3rem !important;
}

.tab-pane table {
    font-size: 0.95rem;
}

.form-check-input {
}

#modalImage {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bg-grad-1 {
    background: linear-gradient(135deg, #e0f7fa, #f3e5f5); /* Light pastel blue to pink */
}

.bg-grad-2 {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff); /* Light pastel blue to white  */
}

.bg-grad-3 {
    background: linear-gradient(135deg, #e0f7fa, #f3e5f5); /* Light peach to white */
}

.bg-grad-4 {
    background: linear-gradient(to bottom, #e0f2f1, #ffffff); /* Subtle green mint to white */
}

.bg-grad-5 {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2); /* soft peach */
}

.bg-grad-6 {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0); /* light pink */
}

.bg-grad-7 {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9); /* light mint green */
}

.bg-grad-8 {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7); /* soft lavender */
}

.bg-grad-9 {
    background: linear-gradient(135deg, #f1f8e9, #dcedc8); /* light lime green */
}

.bg-grad-10 {
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc); /* pale sky blue */
}

.bg-grad-11 {
    background: linear-gradient(to bottom, #fffde7, #ffffff); /* Light yellow to white */
}

.color-purple {
    color: #9964de;
}

.color-blue {
    color: #1657b8 !important;
}

.text-bold {
    font-weight: bold !important;
}

.btn-glow {
    box-shadow: 0 0 10px rgba(0,123,255,0.5);
}

th input[type="checkbox"] {
    pointer-events: all;
}

th.sorting_disabled:after, th.sorting_disabled:before {
    display: none !important;
}

.checkbox-header {
    text-align: center !important;
    width: 50px;
    margin: 0 !important;
    padding: 0 !important;
}

.checkbox-rows {
    text-align: center !important;
}

.nav-tabs {
    border-bottom: 3px solid #dee2e6;
}

    .nav-tabs .nav-link {
        border: none;
        color: #495057;
        font-weight: 500;
        padding: 0.75rem 1.5rem;
        transition: background 0.4s ease, color 0.4s ease, border 0.4s ease;
    }

        .nav-tabs .nav-link:hover {
            background-color: #f8f9fa;
            color: #5f8762;
            border-radius: 0.5rem 0.5rem 0 0;
        }

        .nav-tabs .nav-link.active {
            background: linear-gradient(to top, #ffffff, #f1f3f5);
            border: 2px solid #dee2e6;
            border-bottom: none;
            border-radius: 0.5rem 0.5rem 0 0;
            color: #1b4c93;
            font-weight: 600;
            position: relative;
            top: 2px;
        }

/* Responsive adjustments */
@media (max-width: 576px) {
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.tab-content {
    border: 2px solid #dee2e6;
    border-top: none;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-height: 200px;
}

.starter-main .card-body ul {
    margin-bottom: 0px;
}

.page-sidebar {
    margin-top: 70px !important;
}

.sidebar-menu .sidebar-list h6, .sidebar-menu .sidebar-list .h6 {
    font-size: 14px;
}

/* Smooth transition for outline too */
.btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}


.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

#TimeZone + .select2-container {
    max-width: 350px !important;
}

#defTimeZone + .select2-container {
    max-width: 350px !important;
}

table.dataTable {
    table-layout: fixed !important;
}

.dataTables_scrollBody {
    overflow-x: auto !important;
}

.dropdown-menu {
    list-style: none !important;
    padding-left: 0;
}

.roomaccess-dropdown .dropdown-menu .dropdown-item {
    color: #0c356a;
}

    .roomaccess-dropdown .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item:focus {
        background-color: #eeefec;
        color: #000000;
    }

.roomaccess-dropdown .dropdown-menu {
    padding: 0 !important;
}


.global-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    background-color: transparent;
    z-index: 2000;
    text-align: center;
}

.global-spinner {
    position: relative;
    top: 50%;
    width: 5rem;
    height: 5rem;
    border-width: 0.5em;
    color: white;
}

.colorful-spinner {
    position: relative;
    top: 50%;
    width: 5rem;
    height: 5rem;
    border-width: 0.5em;
    border-style: solid;
    border-top-color: #999999; /* Medium grey */
    border-right-color: #cccccc; /* Light grey */
    border-bottom-color: #ffffff; /* White */
    border-left-color: #cccccc; /* Light grey */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.test {
    color: #645d7e
}

#floorMap {
    height: 600px;
    border: 1px solid #ccc;
    position: relative;
}

.leaflet-container {
    background: #f8f9fa;
}

.card .card-header .card-header-right {
    right: 35px;
    top: 15px;
    display: inline-block;
    float: right;
    padding: 8px 0;
    position: absolute;
    background-color: var(--white);
    z-index: 1;
}

#floorPlanWrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-top: 10px;
}

    #floorPlanWrapper.fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9997;
        width: 100vw;
        height: 100vh;
        border: none;
        background-color: white;
        background: linear-gradient(to bottom, #e3f2fd, #ffffff);
        padding: 10px 20px 20px 20px;
    }

#toggleFullscreenBtn {
    position: absolute;
    right: 8px;
    margin-top: -10px;
    z-index: 9998;
    background: white;
    color: #495057;
    border: none;
    padding: 0px 2px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #ccc;
    height: 22px;
    width: 22px;
}

    #toggleFullscreenBtn:hover {
        background: white;
    }

.select2-container--open {
    z-index: 9999 !important;
}

.toast-container {
    z-index: 10001 !important;
}

table.dataTable.display tbody tr > .sorting_1 {
    background-color: inherit !important;
}


.rb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px; /* separate rows */
    background: transparent;
    font-size: 14px;
}

    .rb-table thead tr th {
        background: #f4f6f9;
        font-weight: 600;
        padding: 14px;
        border: none;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
        color: #4a5568;
    }

    /* Card-like rows */
    .rb-table tbody tr {
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        transition: 0.2s;
    }

        /* Hover effect */
        .rb-table tbody tr:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.07);
        }

    /* Remove harsh borders */
    .rb-table th, .rb-table td {
        border: none !important;
        padding: 14px 18px;
        vertical-align: middle;
    }

    /* Keep spacing inside rows */
    .rb-table tbody td:first-child {
        border-radius: 8px 0 0 8px;
    }

    .rb-table tbody td:last-child {
        border-radius: 0 8px 8px 0;
    }

    /* Action Icons */
    .rb-table .fas {
        font-size: 15px;
        opacity: 0.75;
        transition: 0.2s;
    }

        .rb-table .fas:hover {
            opacity: 1;
            transform: scale(1.15);
        }
/* Paging container alignment */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 12px;
    text-align: right;
}

    /* Paging buttons base style */
    .dataTables_wrapper .dataTables_paginate .paginate_button {
    }

        /* Hover effect */
        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background-color: #f1f1f1;
            border-color: #999;
        }

        /* Active page */
        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background-color: #007bff !important;
            color: white !important;
            border-color: #007bff !important;
        }

        /* Disabled buttons */
        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
            color: #999 !important;
            border-color: #ddd !important;
            background-color: #f9f9f9 !important;
            cursor: default;
        }

        /* Remove outline on focus */
        .dataTables_wrapper .dataTables_paginate .paginate_button:focus {
            outline: none;
        }

.pagination ul {
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #333 !important;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.page-link:focus {
    box-shadow: none !important;
}


/* MENU CARD */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.nav-card {
    width: 180px;
    height: 150px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s, border 0.3s;
    border: 2px solid transparent; /* Start with no visible border */
}

    .nav-card:hover {
        background-color: #fefefe;
        border: 2px solid #ccc;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    .nav-card i {
        font-size: 30px;
        margin-bottom: 7px;
        display: block;
        transition: transform 0.2s;
    }

    .nav-card:hover i {
        transform: scale(1.1);
    }

    .nav-card h3 {
        margin: 2px 0 6px;
        font-size: 16px;
    }

    .nav-card p {
        font-size: 11px !important;
        color: #444;
        margin: 0;
    }

/* Pastel background color classes */
.card-blue {
    background-color: #dfedfc;
}

    .card-blue i {
        color: #339af0;
    }

.card-green {
    background-color: #d9f9d9;
}

    .card-green i {
        color: #38b000;
    }

.card-yellow {
    background-color: #fff6cc;
}

    .card-yellow i {
        color: #e0a800;
    }

.card-pink {
    background-color: #ffeff5;
}

    .card-pink i {
        color: #d6336c;
    }

.card-purple {
    background-color: #f0e4ff;
}

    .card-purple i {
        color: #6f42c1;
    }

.card-teal {
    background-color: #d0f4de;
}

    .card-teal i {
        color: #20c997;
    }

.card-orange {
    background-color: #ffe5b4;
}

    .card-orange i {
        color: #fd7e14;
    }

.card-coral {
    background-color: #ffd6d6;
}

    .card-coral i {
        color: #e8594f;
    }

.card-mint {
    background-color: #e0fff4;
}

    .card-mint i {
        color: #12b886;
    }

.card-greyblue {
    background-color: #e2eafc;
}

    .card-greyblue i {
        color: #5c7cfa;
    }

.card-sky {
    background-color: #e3f8ff;
}

    .card-sky i {
        color: #3bc9db;
    }

.card-lavender {
    background-color: #f5eaff;
}

    .card-lavender i {
        color: #b197fc;
    }

.card-rose {
    background-color: #ffe4e9;
}

    .card-rose i {
        color: #f06595;
    }

.card-sage {
    background-color: #e9f5ec;
}

    .card-sage i {
        color: #66a80f;
    }

.card-peach {
    background-color: #ffe9cc;
}

    .card-peach i {
        color: #f59f00;
    }

.card-ice {
    background-color: #e6fcf5;
}

    .card-ice i {
        color: #0ca678;
    }

.card-lime {
    background-color: #f4fce3;
}

    .card-lime i {
        color: #82c91e;
    }

.card-cloud {
    background-color: #f8f9fa;
}

    .card-cloud i {
        color: #868e96;
    }

.card-sand {
    background-color: #fff3e0;
}

    .card-sand i {
        color: #ffa94d;
    }

.card-ocean {
    background-color: #d0ebff;
}

    .card-ocean i {
        color: #228be6;
    }

.nav-card.disabled {
    opacity: 0.5;
    pointer-events: none; /* Prevents hover, click, etc. */
    filter: grayscale(80%);
}

.simplebar-wrapper {
    z-index: 99999 !important;
}

.fc .fc-view-harness {
    z-index: 1 !important;
}
/* Base styling for all events */
.fc-event {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    border: none !important;
    border-radius: 4px;
    font-size: 1.1em;
    line-height: 1.1;
    padding: 2px 4px;
}

/* Specific: month view (dayGrid) */
.fc-daygrid-event {
    font-size: 0.9em;
}

/* Specific: week/day view (timeGrid) */
.fc-timegrid-event {
    font-size: 1em;
}

.fc-daygrid-event:hover {
    background-color: #d6e8e7 !important;
    opacity: 1;
    cursor: pointer;
}

/* Optional: tighter layout for mobile */
@media (max-width: 768px) {
    .fc-event {
        font-size: 0.85em;
        line-height: 1.0;
    }
}

.image-wrapper {
    position: relative;
    display: inline-block;
    border: solid 1px #ccc;
    border-radius: 7px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.img-preview {
    max-height: 150px;
    cursor: pointer;
    display: block;
    border-radius: 4px;
}

.remove-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 26px;
    display: none;
    cursor: pointer;
    z-index: 2;
}

.image-wrapper:hover .remove-icon {
    display: inline-block;
}

.remove-icon:hover {
}

.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
    box-shadow: none !important;
}

.bg-grey {
    background-color: #f1f1f1 !important;
}

.tooltip-inner {
    font-size: 0.75rem;
    background-color: #f2f3f4;
    color: #7371a1;
    padding: 6px 10px;
    border-radius: 6px;
    max-width: 250px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.tooltip.top .tooltip-arrow {
    border-top-color: red;
}

.tooltip.top-left .tooltip-arrow {
    border-top-color: #f2f3f4 !important;
}

.tooltip.top-right .tooltip-arrow {
    border-top-color: #f2f3f4 !important;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #f2f3f4 !important;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #f2f3f4 !important;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #f2f3f4 !important;
}

.tooltip.bottom-left .tooltip-arrow {
    border-bottom-color: #f2f3f4 !important;
}

.tooltip.bottom-right .tooltip-arrow {
    border-bottom-color: #f2f3f4 !important;
}

.notif-alert {
    font-size: 0.75rem;
    background-color: #fdfdfd;
    border-bottom: 1px solid #eee;
    padding: 0.5rem;
    gap: 0.5rem;
}

.notif-body {
    line-height: 1;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.notif-icon {
    font-size: 10px !important;
    vertical-align: middle;
}

/* Shaded bullet */
.notif-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0c356a, #3e6fb0);
    flex-shrink: 0;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.notif-actions {
    text-align: right;
}

    .notif-actions .btn {
        font-size: 11px;
        padding: 1px 6px;
        border-radius: 4px;
    }

        .notif-actions .btn i {
            font-size: 12px;
        }


.notif-alert {
    font-size: 0.82rem;
    padding: 0.5rem;
}

#tsCenteredToast {
/*    background: linear-gradient(to bottom, #e0f2f1, #ffffff);
    color: #004a75;
    font-size: 17px;
    font-weight: bold !important;
    padding: 1rem 1.5rem;
    min-width: 320px;
    max-width: 600px;*/
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
}

.context-menu {
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    max-width: 200px !important;
}

.room-badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 12px;
    color: #000;
    background-color: #eaeced;
    border-radius: 0.5rem;
    line-height: 1;
    white-space: nowrap;
}

.login-card .login-main .theme-form p {
    margin-top: 10px;
}

.lang-switch li {
    padding: 0 !important;
}

    .lang-switch li:hover {
        background-color: #dee2e6;
    }

.timeline {
    display: flex;
    flex-direction: row;
    height: 28px;
    font-size: 0.75rem;
    line-height: 28px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.slot {
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
}

    .slot.available {
        background-color: #28a745; /* green */
        color: white;
    }

    .slot.booked {
        background-color: #dc3545; /* red by default, can be overridden by bk.Color */
    }

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.room-card {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .room-card:hover {
        background-color: #f2f3f4;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    .room-card.selected {
        background-color: #e6f2ff; /* light blue highlight */
        box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4); /* stronger shadow */
        transform: translateY(-3px); /* keep the hover lift */
        border: 1px solid #0d6efd; /* bootstrap primary border */
    }

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.eq-list {
    list-style: none;
    padding-left: 1.25rem !important;
    margin: 0;
    font-size: 0.7rem !important;
}

    .eq-list i {
        color: #198754 !important;
        margin-right: 6px !important;
    }

#calendar-loader {
    display: none; /* keep hidden until FullCalendar triggers loading */
    justify-content: center;
    align-items: center;
    min-height: 80px; /* ensures the loader doesn’t collapse */
}

.small-calendar .fc {
    font-size: 0.65rem; /* shrink everything uniformly */
}

/* Optionally fine-tune specific parts */
.small-calendar .fc-toolbar-title {
    font-size: 0.67rem; /* calendar header title */
    color: #435e87;
}

.small-calendar .fc-button {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    background-color: #dee2e6;
    border: 1px solid #ccc;
    color: #3d8963;
}

.small-calendar .fc-daygrid-day-number,
.small-calendar .fc-col-header-cell-cushion {
    font-size: 0.6rem;
}

.small-calendar .fc-event {
    font-size: 0.65rem; /* event labels */
    padding: 1px 2px;
}

.small-calendar .fc-toolbar .fc-button {
    font-size: 0.65rem; /* smaller text */
    padding: 2px 6px; /* reduce padding */
    line-height: 1.2;
    border-radius: 4px; /* keep them neat */
}

.small-calendar .fc-toolbar {
    margin-bottom: 0.25rem; /* tighter spacing under toolbar */
}

.small-calendar .fc-timegrid-slot {
    font-size: 0.65rem !important;
}

.small-calendar .fc-list-day-text {
    font-size: 0.65rem !important;
}

.small-calendar .fc-list-day-side-text {
    font-size: 0.65rem !important;
}

.room-photo-container {
    display: inline-block;
    position: relative;
}

    .room-photo-container .zoom-overlay {
        position: absolute;
        bottom: 5px;
        right: 5px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 6px;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .room-photo-container:hover .zoom-overlay {
        opacity: 1;
    }

/* Darker modal backdrop */
.modal-content.bg-light-grey {
    background-color: #f8f9fa; /* soft background instead of pure white */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Image styling */
#modalImage {
    max-height: 80vh;
    max-width: 100%;
    transition: transform 0.3s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}



.login-provider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

    /* Fix Bootstrap form-switch negative margins */
    .login-provider-row.form-switch {
        padding-left: 0; /* remove Bootstrap offset */
    }

/* Icon sizing */
.login-provider-icon {
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Prevent checkbox from overlapping */
.login-provider-row .form-check-input {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

#azureHint {
    transition: opacity 0.2s ease;
}



/* ── Room photo thumbnail ─────────────────────────────────────────────── */
.room-thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    border: 1px solid var(--light-semi-gray);
}

    .room-thumb:hover {
        transform: scale(1.06);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    }

/* ── Location text ────────────────────────────────────────────────────── */
.room-loc {
    font-size: .8rem;
    color: var(--chart-text-color);
    white-space: nowrap;
}

/* ── Room type color dot ──────────────────────────────────────────────── */
.type-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Action icon buttons ──────────────────────────────────────────────── */
.rb-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: .78rem;
    transition: transform .12s ease, opacity .12s ease;
    text-decoration: none;
}

    .rb-icon-btn:hover {
        transform: translateY(-1px);
        opacity: .85;
    }

.rb-icon-btn-purple {
    background: rgba(115, 102, 255, .12);
    color: #7366ff;
}

.rb-icon-btn-info {
    background: rgba(84, 186, 248, .12);
    color: #54baf8;
}

.rb-icon-btn-success {
    background: rgba(81, 187, 37, .12);
    color: #51bb25;
}

.rb-icon-btn-warning {
    background: rgba(248, 166, 43, .12);
    color: #f8a62b;
}

.rb-icon-btn-danger {
    background: rgba(220, 53, 69, .12);
    color: #dc3545;
}

.rb-icon-btn-secondary {
    background: rgba(108, 117, 125, .12);
    color: #6c757d;
}

/* =============================================================
   Room Booking System — Modern Table & Component Styles
   Copy this into wwwroot/css/style.css
   ============================================================= */

/* ── Modern DataTable wrapper ─────────────────────────────────────────── */
.rb-table-modern thead tr th {
    background: var(--light-background);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--chart-text-color);
    border-bottom: 2px solid var(--light-semi-gray);
    padding: 10px 14px;
    white-space: nowrap;
}

.rb-table-modern tbody td {
    padding: 10px 14px;
    vertical-align: middle;
    border-bottom: 1px solid var(--light-semi-gray);
    font-size: .875rem;
    transition: background .12s ease;
}


    .rb-table-modern tbody tr:hover {
        background: rgba(115, 102, 255, .04) !important;
    }


/* ── Room photo thumbnail ─────────────────────────────────────────────── */
.room-thumb {
    width: 82px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    border: 1px solid var(--light-semi-gray);
}

    .room-thumb:hover {
        transform: scale(1.08);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    }

/* ── Location text ────────────────────────────────────────────────────── */
.room-loc {
    font-size: .8rem;
    color: var(--chart-text-color);
    white-space: nowrap;
}

/* ── Room type color dot ──────────────────────────────────────────────── */
.type-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Access group assigned room pills ────────────────────────────────── */
.ag-room-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: .72rem;
    font-weight: 500;
    background: rgba(115, 102, 255, .10);
    color: #7366ff;
    border: 1px solid rgba(115, 102, 255, .25);
    white-space: nowrap;
}

.room-card-footer {
    border-top: 1px solid var(--light-semi-gray);
    margin: 12px -16px -16px -16px;
    padding: 10px 16px;
    background: rgba(115, 102, 255, .03);
    border-radius: 0 0 12px 12px;
}

/* ── Room card book button overlaid on photo ─────────────────────────── */
.room-photo-container {
    position: relative;
}

.book-now-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a7a4a, #27ae60);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(39,174,96,.4);
    z-index: 2;
}

    .book-now-btn:hover {
        opacity: .88;
        transform: translateY(-1px);
    }


/* All resource rows base */
.fc-datagrid-cell-cushion {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    padding: 6px 8px !important;
}

/* Depth 0 — Country (e.g. Kuwait) */
.fc-datagrid-cell[data-resource-depth="0"] .fc-datagrid-cell-cushion {
    font-weight: 700;
    font-size: .78rem;
    color: #1a3a5c;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: #e8f0fe;
    border-radius: 6px;
}

.fc-datagrid-cell[data-resource-depth="0"] .fc-datagrid-expander::before {
    content: "🌍";
    font-size: .85rem;
}

/* Depth 1 — University / Site */
.fc-datagrid-cell[data-resource-depth="1"] .fc-datagrid-cell-cushion {
    font-weight: 600;
    font-size: .8rem;
    color: #2c5f8a;
    background: #f0f4ff;
    border-radius: 5px;
}

.fc-datagrid-cell[data-resource-depth="1"] .fc-datagrid-expander::before {
    content: "🏛️";
    font-size: .85rem;
}

/* Depth 2 — College / Building */
.fc-datagrid-cell[data-resource-depth="2"] .fc-datagrid-cell-cushion {
    font-weight: 600;
    font-size: .79rem;
    color: #1a7a4a;
    background: #f0faf5;
    border-radius: 5px;
}

.fc-datagrid-cell[data-resource-depth="2"] .fc-datagrid-expander::before {
    content: "🏢";
    font-size: .85rem;
}

/* Depth 3 — Floor */
.fc-datagrid-cell[data-resource-depth="3"] .fc-datagrid-cell-cushion {
    font-weight: 500;
    font-size: .78rem;
    color: #6c3483;
    background: #faf0ff;
    border-radius: 5px;
}

.fc-datagrid-cell[data-resource-depth="3"] .fc-datagrid-expander::before {
    content: "📋";
    font-size: .85rem;
}

/* Depth 4 — Room (leaf node) */
.fc-datagrid-cell[data-resource-depth="4"] .fc-datagrid-cell-cushion {
    font-weight: 600;
    font-size: .82rem;
    color: #2c3e50;
    border-left: 3px solid #27ae60;
    padding-left: 10px !important;
}

/* Expand/collapse toggle icon override */
.fc-datagrid-expander {
    margin-right: 4px;
    cursor: pointer;
    opacity: .7;
}

    .fc-datagrid-expander:hover {
        opacity: 1;
    }

/* Alternate row shading */
.fc-timeline-lane:nth-child(even) {
    background: rgba(0,0,0,.015);
}

/* Resource area header */
.fc-datagrid-header .fc-datagrid-cell-cushion {
    font-weight: 700;
    font-size: .8rem;
    color: #1a3a5c;
    text-transform: uppercase;
    letter-spacing: .06em;
}


/* Calendar layout */
.fc {
    font-size: 9pt !important;
}

.fc-datagrid-cell-cushion {
    font-size: 8pt !important;
}

.fc-timeline-event {
    font-size: 7.5pt !important;
}

.fc-scrollgrid {
    border: 1px solid #ccc !important;
}


.fc-list-event-title a,
.fc-list-event-time,
.fc-list-event-dot {
    color: #2c3e50 !important;
}

.fc-list-event-title {
    color: #2c3e50 !important;
}


/* ── MyBookings card headers ──────────────────────────── */
.mybk-card-header {
    border-radius: 6px 6px 0 0;
}

.mybk-header-upcoming {
    background: #aac9c6;
}

.mybk-header-past {
    background: #aac9c6;
}

.mybk-count-badge {
    background: rgba(255, 255, 255, .2);
    font-size: .72rem;
}

.mybk-header-btn {
    font-size: .75rem;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
}

    .mybk-header-btn:hover {
        background: rgba(255, 255, 255, .25);
        color: #fff;
    }

.mybk-collapse-btn {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mybk-collapse-btn:hover {
        background: rgba(255, 255, 255, .25);
        color: #fff;
    }

/* ── My Bookings row ──────────────────────────────────────────────── */
.mybk-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--light-semi-gray);
    cursor: pointer;
    transition: background .12s ease;
}

    .mybk-row:last-child {
        border-bottom: none;
    }

    .mybk-row:hover {
        background: rgba(26,58,92,.04);
    }

.mybk-row-past {
    opacity: .65;
}

    .mybk-row-past:hover {
        opacity: .85;
    }

.mybk-stripe {
    width: 4px;
    flex-shrink: 0;
}

.mybk-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    align-self: center;
}

.mybk-photo-placeholder {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(115,102,255,.06);
    font-size: 1.4rem;
    color: #aaa;
}

.mybk-content {
    flex: 1;
    padding: 10px 14px;
    overflow: hidden;
    min-width: 0;
}

.mybk-title {
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mybk-room {
    font-size: .78rem;
    color: #6c757d;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mybk-time {
    font-size: .78rem;
    color: #27ae60;
    font-weight: 500;
}

.mybk-badge {
    font-size: .68rem;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.mybk-badge-confirmed {
    background: rgba(39,174,96,.12);
    color: #27ae60;
}

.mybk-badge-pending {
    background: rgba(243,156,18,.12);
    color: #f39c12;
}

.mybk-badge-cancelled {
    background: rgba(108,117,125,.12);
    color: #6c757d;
}

.mybk-badge-rejected {
    background: rgba(220,53,69,.12);
    color: #dc3545;
}

.mybk-rcr-badge {
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(115,102,255,.12);
    color: #7366ff;
    font-weight: 500;
}

.mybk-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    flex-shrink: 0;
}
/* Dark mode */
.dark-only .mybk-row:hover {
    background: rgba(255,255,255,.04);
}

.dark-only .mybk-title {
    color: #e0e3eb;
}


/* ── Booking Modal Styles ────────────────────── */
/* ────────────────────────────────────────────── */
#bookingModal .modal-content {
    padding: 0;
}

#bookingModal .modal-dialog {
    max-width: min(860px, 95vw) !important;
    width: 100% !important;
    margin: 1.5rem auto !important;
}

#bookingModal .modal-body {
    padding: 0 !important;
}

#bookingModal form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bk-modal-body {
    align-items: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f8f9fa;
    max-height: 70vh;
    overflow-y: auto;
    width: 100% !important;
    display: flex;
    gap: 0;
}

.bk-form-col {
    flex: 0 0 70% !important;
    min-width: 0;
    padding: 20px 24px;
    overflow-y: auto;
    background: #fff;
}

.bk-cal-col {
    flex: 0 0 27% !important;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.bk-modal-header {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: #d6e8e7;
    border-bottom: none;
    width: 100%;
}

.bk-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}


.bk-modal-icon {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.bk-modal-title {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.bk-btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease;
}

    .bk-btn-cancel:hover {
        background: rgba(255,255,255,.15);
    }

.bk-btn-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #1a7a4a;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

    .bk-btn-save:hover {
        opacity: .9;
        transform: translateY(-1px);
    }

    .bk-btn-save:disabled {
        opacity: .65;
        transform: none;
        cursor: not-allowed;
    }


.bk-cal-col::-webkit-scrollbar {
    display: none;
}

/* Field groups */
.bk-field-group {
    margin-bottom: 18px;
}

.bk-section-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

    .bk-section-label i {
        font-size: .75rem;
        color: #27ae60;
        width: 14px;
        text-align: center;
    }

.bk-input,
.bk-select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    font-size: .875rem;
    color: var(--body-font-color);
    transition: border-color .15s ease, box-shadow .15s ease;
    outline: none;
}

    .bk-input:focus,
    .bk-select:focus {
        border-color: #27ae60;
        box-shadow: 0 0 0 3px rgba(39,174,96,.12);
    }

textarea.bk-input {
    resize: vertical;
    min-height: 72px;
}

.bk-error {
    color: #dc3545;
    font-size: .78rem;
    margin: 4px 0 0;
}

.bk-hint {
    color: #94a3b8;
    font-size: .75rem;
    margin-top: 4px;
}

/* Date/Time row */
.bk-datetime-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

.bk-allday-toggle {
    padding: 9px 4px;
    white-space: nowrap;
}

/* Recurring */
.bk-recurring-wrap {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}

.bk-recurring-toggle {
    margin-bottom: 0;
}

.bk-recurrence-box {
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
}

/* Weekday pills */
.bk-weekdays {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bk-day-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

    .bk-day-btn input[type="checkbox"] {
        display: none;
    }

    .bk-day-btn span {
        padding: 4px 12px;
        border: 1.5px solid #e2e8f0;
        border-radius: 20px;
        font-size: .75rem;
        font-weight: 600;
        color: #6c757d;
        background: #f8f9fa;
        transition: all .15s ease;
        user-select: none;
    }

    .bk-day-btn input:checked + span {
        background: #27ae60;
        border-color: #27ae60;
        color: #fff;
    }



.bk-modal-title {
    color: #1a7a4a;
    text-shadow: none;
}

.bk-modal-icon {
    background: rgba(26,122,74,.12);
    color: #1a7a4a;
}

.bk-btn-cancel {
    border-color: rgba(26,122,74,.3);
    color: #1a7a4a;
}

    .bk-btn-cancel:hover {
        background: rgba(26,122,74,.08);
    }

.bk-btn-save {
    background: #1a7a4a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,122,74,.3);
}

    .bk-btn-save:hover {
        opacity: .9;
        transform: translateY(-1px);
    }


#bkDate {
    max-width: 160px;
}

#bkTimeStart {
    max-width: 140px;
}

#bkTimeEnd {
    max-width: 140px;
}

/* ── Mini Calendar in Booking Modal ─────────────────────────── */
.bk-cal-col {
    width: 30%;
    position: relative;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.bk-cal-header {
    padding: 12px 16px 10px;
    font-weight: 600;
    font-size: .82rem;
    color: #1a3a5c;
    border-bottom: 1px solid #e2e8f0;
    background: #e2e8f0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.bk-cal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #aaa;
    font-size: .82rem;
    text-align: center;
    gap: 8px;
}

    .bk-cal-empty i {
        font-size: 2rem;
        opacity: .35;
        display: block;
        margin-bottom: 8px;
    }

#bkMiniCal {
    flex: 1;
    position: relative;
    overflow-y: auto;
    padding: 0 8px 16px 56px;
    min-height: 400px;
}

.bk-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid #f0f0f0;
    height: 0;
}

.bk-hour-label {
    position: absolute;
    left: 4px;
    top: -9px;
    font-size: .67rem;
    color: #94a3b8;
    white-space: nowrap;
    font-weight: 500;
    width: 48px;
    text-align: right;
}

.bk-mini-slot {
    position: absolute;
    left: 58px;
    right: 8px;
    background: #dc3545;
    border-radius: 5px;
    padding: 3px 7px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 20px;
    box-shadow: 0 1px 4px rgba(220,53,69,.25);
    z-index: 1;
}

.bk-mini-slot-title {
    font-size: .72rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-mini-slot-time {
    font-size: .65rem;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
}

.bk-now-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 2px solid #27ae60;
    z-index: 2;
}

.bk-now-dot {
    position: absolute;
    left: 48px;
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    top: -5px;
    z-index: 3;
}

#bkMiniCalNoRoom,
#bkMiniCalEmpty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* Booking panel close button */
.panel-close-btn {
    width: 32px;
    height: 32px;
    min-width: 32px; 
    min-height: 32px;
    flex-shrink: 0; 
    align-self: center; 
    background: rgba(255, 255, 255, 0.15);
    color: #0e764e;
    cursor: pointer;
    font-size: 1rem;
    transition: background .2s ease, transform .15s ease;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

    .panel-close-btn:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: scale(1.1);
    }

    .panel-close-btn:active {
        background: rgba(255, 255, 255, 0.5);
        transform: scale(0.95);
    }

.booking-header-accent {
    margin-top:-12px;
    font-style: italic;
}

.table-light th {
    text-align:center !important;
}


