.d-inline[data-confirm-action],
form[data-confirm-action] {
  display: inline;
}

.nav.border-gradient-tab .nav-link {
  border-radius: 999px;
}

.tinymce-rtl,
[dir="rtl"] .tinymce-rtl {
  direction: rtl;
  text-align: right;
}

.phase2-placeholder {
  min-height: 120px;
}

.hotel-modal-content {
  position: relative;
}

.modal .modal-header {
  background: #f1f2f6;
  margin-bottom: 0;
  padding: 1rem 1.25rem 0.5rem;
}

.modal .modal-header .modal-title,
.modal .modal-header h5,
.modal .modal-header .h5 {
  font-size: 22px !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.2;
}

.modal .modal-header .mb-1 {
  margin-bottom: 0.75rem !important;
}

.meal-price-modal-dialog {
  max-width: 600px;
  width: calc(100% - 1.5rem);
}

.meal-price-modal-dialog .modal-content {
  width: 100%;
}

.company-service-modal-body {
  position: relative;
  min-height: min(74vh, 700px);
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.company-service-modal .modal-title {
  font-size: 1.03rem;
  line-height: 1.15;
}

.company-service-modal .modal-header {
  padding: 1rem 1.25rem 0.5rem;
}

.company-free-meal-modal-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.company-free-meal-modal-actions .btn {
  flex: 1 1 0;
}

.company-free-meal-modal-actions .btn-danger,
.company-free-meal-modal-actions .btn-outline-secondary {
  min-width: 0;
}

.company-service-modal-subtitle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  line-height: 1.25;
}

.company-service-modal [data-company-service-modal-subtitle] {
  font-weight: 700;
  color: #b12000;
}

.company-service-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
}

.company-service-toolbar .company-service-field {
  width: 180px;
  flex: 0 0 180px;
}

.company-service-toolbar .company-service-field .form-label {
  margin-bottom: 0.25rem;
}

.company-service-toolbar .company-service-field .form-control {
  width: 100%;
}

.company-service-toolbar-embed {
  flex-wrap: nowrap;
  width: 100%;
}

.company-service-toolbar-embed .company-service-field {
  width: 170px;
  flex-basis: 170px;
}

.company-service-toolbar-embed .btn {
  flex: 0 0 auto;
}

.company-service-toolbar-embed .room-booking-export-btn {
  margin-inline-start: 0.25rem;
}

.company-service-modal-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(1px);
}

.company-service-modal-iframe {
  display: block;
  width: 100%;
  height: min(74vh, 700px);
  border: 0;
  background: #ffffff;
}

body.company-service-embed {
  margin: 0;
  background: #ffffff;
}

.page-alert-stack {
  position: sticky;
  top: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  pointer-events: none;
}

.page-alert-stack .alert {
  pointer-events: auto;
}

.sidebar-menu li a {
  padding: 0.625rem 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: var(--text-secondary-light);
  border-radius: 8px;
  font-size: 0.875rem;
}

@media (min-width: 1650px) {
  .sidebar-menu li a {
    font-size: 14px;
  }
}

.sidebar-menu li a:hover {
  color: var(--primary-600);
}

.sidebar-menu li a .menu-icon {
  width: 1.125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.125rem;
  color: currentColor;
  line-height: 1;
  font-size: 1.125rem;
  margin-inline-end: 0.5rem;
}

@media (min-width: 1650px) {
  .sidebar-menu li a .menu-icon {
    width: 1.375rem;
    min-width: 1.375rem;
    height: 1.375rem;
    flex-basis: 1.375rem;
    font-size: 1.375rem;
    margin-inline-end: 0.75rem;
  }
}

.sidebar-menu li a span {
  line-height: 1.2;
  display: inline-block;
}

.sidebar-menu .sidebar-submenu li a {
  padding: 0.4375rem 0.75rem;
}

.sidebar-menu .sidebar-menu-group-title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 0.75rem;
  margin-block: 0.75rem 0.5rem;
  background: #f1f2f6;
  border-radius: 5px;
  padding: 10px 10px 10px 10px;
  color: var(--neutral-500);
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 1650px) {
  .sidebar-menu .sidebar-menu-group-title {
    font-size: 14px;
  }
}

.sidebar.active .sidebar-logo img.light-logo,
.sidebar.active .sidebar-logo img.dark-logo {
  display: none;
}

.sidebar.active .sidebar-logo img.logo-icon {
  display: inline-block;
}

.sidebar.active .sidebar-menu li a span {
  display: none;
}

.sidebar.active .sidebar-menu li a .menu-icon {
  margin-inline-end: 0;
}

.sidebar.active .sidebar-menu li.sidebar-menu-group-title {
  display: none;
}

.sidebar.active .sidebar-menu li.dropdown.dropdown-open .sidebar-submenu,
.sidebar.active .sidebar-menu li.dropdown.open .sidebar-submenu {
  display: none !important;
}

.sidebar.active .sidebar-menu li.dropdown a::after {
  display: none;
}

.sidebar.active:hover .sidebar-logo img.light-logo {
  display: inline-block;
}

.sidebar.active:hover .sidebar-logo img.logo-icon {
  display: none;
}

.sidebar.active:hover .sidebar-menu li a span {
  display: inline-block;
}

.sidebar.active:hover .sidebar-menu li a .menu-icon {
  margin-inline-end: 0.5rem;
}

.sidebar.active:hover .sidebar-menu li.dropdown.dropdown-open .sidebar-submenu,
.sidebar.active:hover .sidebar-menu li.dropdown.open .sidebar-submenu {
  display: block !important;
}

.sidebar.active:hover .sidebar-menu li.sidebar-menu-group-title {
  display: block;
  width: 100%;
}

.sidebar.active:hover .sidebar-menu li.dropdown a::after {
  display: inline-block;
}

.hotel-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  opacity: 1;
  filter: none;
  background-color: transparent;
  background-image: none;
  border-radius: 999px;
  box-shadow: none;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.hotel-modal-close::before {
  content: "×";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #b12000;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
}

.hotel-modal-close:hover,
.hotel-modal-close:focus {
  opacity: 1;
  background-color: transparent;
  box-shadow: none;
}

form .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4b5563;
}

form .form-control,
form select.form-select {
  height: 40px;
  min-height: 40px;
  border: 1px solid #d6dbe5;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

form textarea.form-control {
  height: 65px;
  min-height: 65px;
  resize: vertical;
}

form .form-control:focus,
form select.form-select:focus {
  border-color: #5b7cfa;
  box-shadow: 0 0 0 0.2rem rgba(91, 124, 250, 0.14);
}

form select.form-select {
  padding: 0 2.75rem 0 1rem;
  line-height: 38px;
  background-position: right 1rem center;
  background-size: 14px 10px;
}

[dir="rtl"] form select.form-select {
  background-position: left 1rem center;
}

.st-native-select {
  display: none !important;
}

.st-select {
  width: 100%;
  position: relative;
}

.st-select-toggle {
  min-height: 40px;
  height: 40px;
  border: 1px solid #d6dbe5;
  border-radius: 5px;
  background-color: #fff !important;
  color: #374151 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.st-select-toggle:focus,
.st-select-toggle:hover,
.st-select-toggle.show {
  border-color: #5b7cfa;
  background-color: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(91, 124, 250, 0.14);
}

.st-select.is-invalid .st-select-toggle {
  border-color: #dc3545;
}

.st-select.is-invalid .st-select-toggle:focus,
.st-select.is-invalid .st-select-toggle:hover,
.st-select.is-invalid .st-select-toggle.show {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.14);
}

.st-select-toggle::after {
  display: none;
}

.st-select-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.st-select-caret {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #6b7280;
  margin-inline-start: auto;
}

.st-select-menu {
  border-radius: 5px;
  border: 1px solid #d6dbe5;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: 0.35rem;
  z-index: 1060;
}

.st-select-search {
  height: 40px;
  min-height: 40px;
  border-radius: 5px;
  border: 1px solid #d6dbe5;
  font-size: 14px;
}

.st-select-options {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 0.35rem;
}

.st-select-item {
  border-radius: 5px;
  padding: 0.45rem 0.7rem;
  font-size: 14px;
  line-height: 1.2;
}

.st-select-item.active,
.st-select-item:hover,
.st-select-item:focus {
  background-color: #eef2ff;
  color: #1d4ed8;
}

.st-select-empty {
  padding: 0.35rem 0.65rem 0;
  color: #6b7280;
  font-size: 14px;
}

.st-select .dropdown-menu {
  max-height: none;
}

.bootstrap-select {
  width: 100% !important;
  position: relative;
}

.bootstrap-select > .dropdown-toggle {
  min-height: 40px;
  height: 40px;
  border: 1px solid #d6dbe5;
  border-radius: 5px;
  background-color: #f8fafc;
  color: #374151;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 0.55rem 1rem;
}

.bootstrap-select > .dropdown-toggle .caret {
  margin-left: 0.4rem;
}

.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > .dropdown-toggle:hover,
.bootstrap-select > .dropdown-toggle:active,
.bootstrap-select > .dropdown-toggle.show {
  border-color: #5b7cfa;
  background-color: #f8fafc;
  box-shadow: 0 0 0 0.2rem rgba(91, 124, 250, 0.14);
}

.bootstrap-select > .dropdown-toggle .filter-option,
.bootstrap-select > .dropdown-toggle .filter-option-inner,
.bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  background: transparent;
}

.bootstrap-select > .dropdown-toggle .filter-option {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0;
  background: transparent;
  width: 100%;
}

.bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  line-height: 1.2;
  background: transparent;
}

.bootstrap-select .dropdown-menu {
  border-radius: 5px;
  border: 1px solid #d6dbe5;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: 0.25rem;
  z-index: 1080 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.bootstrap-select.show,
.bootstrap-select.open {
  z-index: 1085;
}

.bootstrap-select .bs-searchbox {
  padding: 0.2rem;
}

.bootstrap-select .bs-searchbox .form-control {
  height: 36px;
  min-height: 36px;
  border-radius: 5px;
  border: 1px solid #d6dbe5;
  font-size: 14px;
  box-shadow: none;
}

.bootstrap-select .dropdown-menu .inner {
  max-height: 220px !important;
  margin-top: 0.15rem;
}

.bootstrap-select .dropdown-menu .dropdown-item,
.bootstrap-select .dropdown-menu li a {
  border-radius: 5px;
  padding: 0.3rem 0.65rem;
  font-size: 14px;
  line-height: 1.2;
}

.bootstrap-select .dropdown-menu .dropdown-item.active,
.bootstrap-select .dropdown-menu .dropdown-item:active,
.bootstrap-select .dropdown-menu .dropdown-item:hover,
.bootstrap-select .dropdown-menu .dropdown-item:focus,
.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a:focus {
  background-color: #eef2ff;
  color: #1d4ed8;
}

.bootstrap-select .dropdown-menu .no-results {
  padding: 0.35rem 0.65rem;
  color: #6b7280;
  font-size: 14px;
}

.hotel-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hotel-status-select-wrap {
  flex: 0 0 210px;
  width: 210px;
  min-width: 210px;
}

.hotel-status-select {
  width: 210px;
  min-width: 210px;
  height: 42px;
  min-height: 42px;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 40px;
}

.hotel-status-select-wrap .st-select {
  width: 100%;
}

.hotel-status-select-wrap .st-select-toggle {
  min-height: 42px;
  height: 42px;
  padding-inline: 0.85rem;
  border-radius: 5px;
}

.hotel-status-select-wrap .st-select-menu {
  min-width: 100%;
}

.hotel-status-form {
  line-height: 0;
}

#hotelsTable_wrapper .dataTables_length,
#hotelsTable_wrapper .dataTables_filter {
  margin-bottom: 1rem;
}

.basic-data-table .dt-layout-row .dt-search .dt-input,
.basic-data-table .dt-layout-row .dt-length select,
.basic-data-table .dt-layout-row .dt-search input,
.basic-data-table .dt-layout-row input,
.basic-data-table .dt-layout-row select {
  border-radius: 5px !important;
}

#hotelsTable_wrapper .dataTables_length label,
#hotelsTable_wrapper .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0;
  color: #4b5563;
  font-weight: 600;
}

#hotelsTable_wrapper .dataTables_length select,
#hotelsTable_wrapper .dataTables_filter input {
  min-height: 40px;
  height: 40px;
  border: 1px solid #d6dbe5;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  padding-inline: 0.75rem;
}

#hotelsTable_wrapper .dataTables_filter input {
  min-width: 220px;
  text-align: left !important;
  direction: ltr;
  font-size: 14px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

#hotelsTable_wrapper .dataTables_length label {
  gap: 0.45rem;
}

#hotelsTable_wrapper .dataTables_filter label {
  gap: 0.45rem;
  font-size: 0;
  line-height: 0;
  color: transparent !important;
}

#hotelsTable_wrapper .dataTables_filter label input {
  font-size: 14px;
  line-height: 1.5;
  color: #374151 !important;
  text-align: left !important;
  direction: ltr;
}

#hotelsTable_wrapper .dataTables_filter label input::placeholder {
  color: #9ca3af;
  opacity: 1;
  text-align: left;
}

.basic-data-table .dt-layout-row .dt-search label {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.basic-data-table .dt-layout-row .dt-search .dt-input {
  min-height: 40px;
  height: 40px;
  border: 1px solid #d6dbe5 !important;
  border-radius: 5px !important;
  text-align: left !important;
  direction: ltr;
  padding-inline: 0.75rem !important;
  font-size: 14px;
}

.basic-data-table .dt-layout-row .dt-search .dt-input::placeholder {
  text-align: left;
  color: #9ca3af;
  opacity: 1;
}

.hotel-modal-result {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 1rem !important;
  white-space: normal;
  text-align: left;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
  border-radius: 0.75rem !important;
}

.hotel-list-table thead th,
.hotel-list-table tbody td {
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid #edf1f7;
}

.basic-data-table .table tbody tr:nth-child(odd) > *,
.hotel-list-table tbody tr:nth-child(odd) > * {
  background-color: #ffffff !important;
}

.basic-data-table .table tbody tr:nth-child(even) > *,
.hotel-list-table tbody tr:nth-child(even) > * {
  background-color: #f4f8ff !important;
}

.dataTables_wrapper table.dataTable tbody tr.odd > *,
.dataTables_wrapper table.dataTable tbody tr.even > *,
.dataTables_wrapper table.dataTable tbody tr:nth-child(odd) > *,
.dataTables_wrapper table.dataTable tbody tr:nth-child(even) > * {
  background-clip: padding-box;
}

.dataTables_wrapper table.dataTable tbody tr.odd > *,
.dataTables_wrapper table.dataTable tbody tr:nth-child(odd) > * {
  background-color: #ffffff !important;
}

.dataTables_wrapper table.dataTable tbody tr.even > *,
.dataTables_wrapper table.dataTable tbody tr:nth-child(even) > * {
  background-color: #eef4ff !important;
}

.dataTables_wrapper table.dataTable tbody tr.odd > td,
.dataTables_wrapper table.dataTable tbody tr.odd > th,
.dataTables_wrapper table.dataTable tbody tr:nth-child(odd) > td,
.dataTables_wrapper table.dataTable tbody tr:nth-child(odd) > th,
#companiesTable tbody tr:nth-child(odd) > td,
#accountingCompaniesTable tbody tr:nth-child(odd) > td,
#companyPaymentsTable tbody tr:nth-child(odd) > td,
#hotelPaymentsTable tbody tr:nth-child(odd) > td,
#roomBookingsTable tbody tr:nth-child(odd) > td,
#mealServicesTable tbody tr:nth-child(odd) > td,
#inventoryTable tbody tr:nth-child(odd) > td,
#hotelsTable tbody tr:nth-child(odd) > td {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 9999px #ffffff !important;
}

.dataTables_wrapper table.dataTable tbody tr.even > td,
.dataTables_wrapper table.dataTable tbody tr.even > th,
.dataTables_wrapper table.dataTable tbody tr:nth-child(even) > td,
.dataTables_wrapper table.dataTable tbody tr:nth-child(even) > th,
#companiesTable tbody tr:nth-child(even) > td,
#accountingCompaniesTable tbody tr:nth-child(even) > td,
#companyPaymentsTable tbody tr:nth-child(even) > td,
#hotelPaymentsTable tbody tr:nth-child(even) > td,
#roomBookingsTable tbody tr:nth-child(even) > td,
#mealServicesTable tbody tr:nth-child(even) > td,
#inventoryTable tbody tr:nth-child(even) > td,
#hotelsTable tbody tr:nth-child(even) > td {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 9999px #eaf1ff !important;
}

.hotel-list-table tbody tr:nth-child(odd) > td {
  background-color: #ffffff;
}

.hotel-list-table tbody tr:nth-child(even) > td {
  background-color: #f4f8ff;
}

.hotel-list-table thead th:last-child,
.hotel-list-table tbody td:last-child {
  border-right: 0;
  width: 1%;
  white-space: nowrap;
}

.hotel-list-table .hotel-col-code {
  width: 1%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: left;
}

.hotel-list-table .hotel-col-name,
.hotel-list-table .company-col-name,
.hotel-list-table .meal-company-col-name,
.hotel-list-table .meal-company-col-company,
.hotel-list-table .meal-company-col-hotel,
.hotel-list-table .room-booking-col-hotel,
.hotel-list-table .meal-service-col-hotel,
.hotel-list-table .room-booking-col-company,
.hotel-list-table .meal-service-col-company {
  min-width: 180px;
  word-break: break-word;
  text-align: left;
}

.hotel-list-table .hotel-col-region,
.hotel-list-table .hotel-col-capacity,
.hotel-list-table .hotel-col-nightly-price,
.hotel-list-table .hotel-col-status,
.hotel-list-table .company-col-code,
.hotel-list-table .company-col-room,
.hotel-list-table .company-col-night,
.hotel-list-table .company-col-meal,
.hotel-list-table .company-col-meal-day,
.hotel-list-table .company-col-authorized,
.hotel-list-table .company-col-phone,
.hotel-list-table .company-col-email,
.hotel-list-table .company-col-balance,
.hotel-list-table .company-col-payment-date,
.hotel-list-table .company-col-status,
.hotel-list-table .meal-company-col-date,
.hotel-list-table .meal-company-col-meal,
.hotel-list-table .meal-company-col-money,
.hotel-list-table .meal-company-col-payment-date,
.hotel-list-table .meal-company-col-status,
.hotel-list-table .room-booking-col-date,
.hotel-list-table .room-booking-col-count,
.hotel-list-table .room-booking-col-money,
.hotel-list-table .room-booking-col-actions,
.hotel-list-table .meal-service-col-date,
.hotel-list-table .meal-service-col-count,
.hotel-list-table .meal-service-col-money,
.hotel-list-table .meal-service-col-option,
.hotel-list-table .meal-service-col-actions {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.company-col-actions .company-action-vade {
  color: #8b5cf6;
}

.company-col-actions .company-action-payment {
  color: #059669;
}

.company-col-actions .company-action-payments {
  color: #2563eb;
}

.accounting-hotel-actions .company-action-vade {
  color: #8b5cf6;
}

.accounting-hotel-actions .company-action-payment {
  color: #059669;
}

.accounting-hotel-actions .company-action-payments {
  color: #2563eb;
}

.hotel-list-table .company-col-code {
  width: 1%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: left;
}

.hotel-list-table .company-col-room,
.hotel-list-table .company-col-night,
.hotel-list-table .company-col-meal,
.hotel-list-table .company-col-meal-day,
.hotel-list-table .company-col-authorized,
.hotel-list-table .company-col-phone,
.hotel-list-table .company-col-email,
.hotel-list-table .company-col-balance,
.hotel-list-table .company-col-payment-date,
.hotel-list-table .meal-company-col-date,
.hotel-list-table .meal-company-col-meal,
.hotel-list-table .meal-company-col-money,
.hotel-list-table .room-booking-col-date,
.hotel-list-table .room-booking-col-count,
.hotel-list-table .room-booking-col-money,
.hotel-list-table .meal-service-col-date,
.hotel-list-table .meal-service-col-count,
.hotel-list-table .meal-service-col-money,
.hotel-list-table .meal-service-col-option {
  font-variant-numeric: tabular-nums;
}

.hotel-list-table .company-col-actions {
  width: 1%;
  white-space: nowrap;
}

.hotel-list-table .company-col-balance {
  width: 1%;
  white-space: nowrap;
  font-weight: 700;
  color: #b12000;
}

.hotel-list-table .company-col-free-meal {
  width: 1%;
  min-width: 140px;
  white-space: nowrap;
  text-align: center;
}

.hotel-list-table .company-col-free-meal .company-free-meal-form {
  justify-content: center;
}

.hotel-list-table .hotel-col-status {
  width: 1%;
  white-space: nowrap;
  text-align: left;
}

.hotel-list-table thead th:first-child,
.hotel-list-table tbody td:first-child {
  text-align: left;
}

#inventoryTable thead th:nth-child(7),
#inventoryTable tbody td:nth-child(7),
.company-col-status {
  width: 1%;
  white-space: nowrap;
}

#companiesTable thead th:last-child,
#companiesTable tbody td:last-child {
  width: 240px;
  min-width: 240px;
  white-space: nowrap;
}

#companiesTable thead th:first-child,
#companiesTable tbody td:first-child {
  border-left: 1px solid #edf1f7;
}

#companiesTable thead th:last-child,
#companiesTable tbody td:last-child {
  border-right: 1px solid #edf1f7;
}

#accountingCompaniesTable {
  width: 100% !important;
  min-width: 100%;
  table-layout: auto;
}

#companiesTable,
#accountingCompaniesTable,
#accountingMealCompaniesTable,
#accountingHotelsTable,
#roomBookingsTable,
#mealServicesTable {
  width: 100% !important;
  min-width: 100%;
  table-layout: auto;
}

#accountingCompaniesTable thead th,
#accountingCompaniesTable tbody td {
  vertical-align: middle;
}

#accountingCompaniesTable th.company-col-name,
#accountingCompaniesTable td.company-col-name {
  min-width: 280px;
  white-space: nowrap;
  text-align: left;
}

#accountingCompaniesTable th.company-col-code,
#accountingCompaniesTable td.company-col-code,
#accountingCompaniesTable th.company-col-room,
#accountingCompaniesTable td.company-col-room,
#accountingCompaniesTable th.company-col-night,
#accountingCompaniesTable td.company-col-night,
#accountingCompaniesTable th.company-col-meal,
#accountingCompaniesTable td.company-col-meal,
#accountingCompaniesTable th.company-col-meal-day,
#accountingCompaniesTable td.company-col-meal-day,
#accountingCompaniesTable th.company-col-balance,
#accountingCompaniesTable td.company-col-balance,
#accountingCompaniesTable th.company-col-payment-date,
#accountingCompaniesTable td.company-col-payment-date,
#accountingCompaniesTable th.company-col-status,
#accountingCompaniesTable td.company-col-status,
#accountingCompaniesTable th.company-col-actions,
#accountingCompaniesTable td.company-col-actions {
  width: 1%;
  white-space: nowrap;
  text-align: center !important;
}

#accountingCompaniesTable th.company-col-night,
#accountingCompaniesTable td.company-col-night {
  font-variant-numeric: tabular-nums;
  text-align: center !important;
}

#accountingCompaniesTable th.company-col-meal-day,
#accountingCompaniesTable td.company-col-meal-day {
  width: 1%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: center !important;
}

#accountingCompaniesTable th.company-col-room,
#accountingCompaniesTable td.company-col-room,
#accountingCompaniesTable th.company-col-meal,
#accountingCompaniesTable td.company-col-meal,
#accountingCompaniesTable th.company-col-payment-date,
#accountingCompaniesTable td.company-col-payment-date,
#accountingCompaniesTable th.company-col-status,
#accountingCompaniesTable td.company-col-status,
#accountingCompaniesTable th.company-col-code,
#accountingCompaniesTable td.company-col-code,
#accountingCompaniesTable th.company-col-balance,
#accountingCompaniesTable td.company-col-balance {
  text-align: center !important;
  font-variant-numeric: tabular-nums;
}

#accountingHotelsTable {
  width: 100% !important;
  min-width: 100%;
  table-layout: auto;
}

#roomBookingsTable,
#mealServicesTable {
  width: 100% !important;
  min-width: 100%;
  table-layout: auto;
}

#accountingHotelsTable thead th,
#accountingHotelsTable tbody td {
  vertical-align: middle;
  border-right: 1px solid #edf1f7;
}

#accountingHotelsTable thead th {
  white-space: nowrap;
  font-size: 0.86rem;
  line-height: 1.1;
}

#accountingHotelsTable thead th:last-child,
#accountingHotelsTable tbody td:last-child {
  border-right: 0;
  white-space: nowrap;
  width: 1%;
}

#accountingHotelsTable th.accounting-hotel-col-name,
#accountingHotelsTable td.accounting-hotel-col-name {
  width: 240px;
  min-width: 240px;
  text-align: left;
}

#accountingHotelsTable th.accounting-hotel-col-count,
#accountingHotelsTable td.accounting-hotel-col-count,
#accountingHotelsTable th.accounting-hotel-col-night,
#accountingHotelsTable td.accounting-hotel-col-night,
#accountingHotelsTable th.accounting-hotel-col-money,
#accountingHotelsTable td.accounting-hotel-col-money,
#accountingHotelsTable th.accounting-hotel-col-balance,
#accountingHotelsTable td.accounting-hotel-col-balance,
#accountingHotelsTable th.accounting-hotel-col-payment-date,
#accountingHotelsTable td.accounting-hotel-col-payment-date,
#accountingHotelsTable th.accounting-hotel-col-status,
#accountingHotelsTable td.accounting-hotel-col-status,
#accountingHotelsTable th.accounting-hotel-col-actions,
#accountingHotelsTable td.accounting-hotel-col-actions {
  width: 1%;
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#roomBookingsTable thead th,
#roomBookingsTable tbody td,
#mealServicesTable thead th,
#mealServicesTable tbody td {
  vertical-align: middle;
  border-right: 1px solid #edf1f7;
}

#roomBookingsTable thead th,
#mealServicesTable thead th {
  white-space: nowrap;
  font-size: 0.86rem;
  line-height: 1.1;
}

#roomBookingsTable thead th:last-child,
#roomBookingsTable tbody td:last-child,
#mealServicesTable thead th:last-child,
#mealServicesTable tbody td:last-child {
  border-right: 0;
  white-space: nowrap;
  width: 1%;
}

.accounting-hotel-table .accounting-hotel-col-name {
  min-width: 240px;
  word-break: break-word;
}

.accounting-hotel-table .accounting-hotel-col-count,
.accounting-hotel-table .accounting-hotel-col-money,
.accounting-hotel-table .accounting-hotel-col-balance,
.accounting-hotel-table .accounting-hotel-col-status,
.accounting-hotel-table .accounting-hotel-col-actions {
  width: 1%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.accounting-hotel-table .accounting-hotel-col-night {
  width: 1%;
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.accounting-service-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.accounting-service-table thead th,
.accounting-service-table tbody td {
  vertical-align: middle;
  border-right: 1px solid #edf1f7;
}

.accounting-service-table thead th {
  white-space: nowrap;
}

.accounting-service-table thead th:last-child,
.accounting-service-table tbody td:last-child {
  border-right: 0;
}

.accounting-service-table .service-col-check {
  width: 48px !important;
  min-width: 48px;
  text-align: center !important;
  white-space: nowrap !important;
}

.accounting-service-table .service-col-hotel {
  min-width: 240px !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.accounting-service-table .service-col-date,
.accounting-service-table .service-col-reservation,
.accounting-service-table .service-col-count,
.accounting-service-table .service-col-money,
.accounting-service-table .service-col-option,
.accounting-service-table .service-col-status {
  width: 1% !important;
  white-space: nowrap !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums;
}

.accounting-service-table .service-col-invoice {
  width: 220px !important;
  min-width: 220px;
  white-space: nowrap !important;
  text-align: center !important;
}

#companiesTable th.company-col-code,
#companiesTable td.company-col-code,
#companiesTable th.company-col-room,
#companiesTable td.company-col-room,
#companiesTable th.company-col-night,
#companiesTable td.company-col-night,
#companiesTable th.company-col-meal,
#companiesTable td.company-col-meal,
#companiesTable th.company-col-email,
#companiesTable td.company-col-email,
#companiesTable th.company-col-phone,
#companiesTable td.company-col-phone,
#companiesTable th.company-col-balance,
#companiesTable td.company-col-balance,
#companiesTable th.company-col-payment-date,
#companiesTable td.company-col-payment-date,
#companiesTable th.company-col-status,
#companiesTable td.company-col-status,
#accountingCompaniesTable th.company-col-code,
#accountingCompaniesTable td.company-col-code,
#accountingCompaniesTable th.company-col-room,
#accountingCompaniesTable td.company-col-room,
#accountingCompaniesTable th.company-col-night,
#accountingCompaniesTable td.company-col-night,
#accountingCompaniesTable th.company-col-meal,
#accountingCompaniesTable td.company-col-meal,
#accountingCompaniesTable th.company-col-email,
#accountingCompaniesTable td.company-col-email,
#accountingCompaniesTable th.company-col-phone,
#accountingCompaniesTable td.company-col-phone,
#accountingCompaniesTable th.company-col-balance,
#accountingCompaniesTable td.company-col-balance,
#accountingCompaniesTable th.company-col-payment-date,
#accountingCompaniesTable td.company-col-payment-date,
#accountingCompaniesTable th.company-col-status,
#accountingCompaniesTable td.company-col-status,
.hotel-list-table .hotel-col-capacity,
.hotel-list-table .hotel-col-nightly-price,
.accounting-hotel-table .accounting-hotel-col-count,
.accounting-hotel-table .accounting-hotel-col-money,
.accounting-hotel-table .accounting-hotel-col-balance,
.accounting-hotel-table .accounting-hotel-col-night,
.accounting-hotel-table .accounting-hotel-col-payment-date,
.accounting-hotel-table .accounting-hotel-col-status,
.room-booking-col-count,
.room-booking-col-date,
.room-booking-col-money,
.meal-service-col-count,
.meal-service-col-date,
.meal-service-col-money,
.meal-company-col-date,
.meal-company-col-meal,
.meal-company-col-money,
.meal-company-col-payment-date,
.meal-company-col-status {
  text-align: center !important;
}

#accountingHotelsTable th.accounting-hotel-col-night,
#accountingHotelsTable td.accounting-hotel-col-night {
  text-align: center !important;
}

.accounting-hotel-table .accounting-hotel-col-balance {
  font-weight: 700;
  color: #b12000;
}

.accounting-hotel-actions {
  white-space: nowrap;
}

.room-booking-col-hotel,
.meal-service-col-hotel {
  min-width: 180px;
  word-break: break-word;
}

.room-booking-col-company,
.room-booking-col-reservation,
.room-booking-col-user,
.room-booking-col-date,
.room-booking-col-money,
.room-booking-col-room-selection,
.room-booking-col-actions,
.meal-service-col-company,
.meal-service-col-reservation,
.meal-service-col-user,
.meal-service-col-date,
.meal-service-col-money,
.meal-service-col-option,
.meal-service-col-actions {
  width: 1%;
  white-space: nowrap;
}

#roomBookingsTable .room-booking-col-actions {
  min-width: 5.5rem;
  text-align: right !important;
}

#mealServicesTable .meal-service-col-actions {
  min-width: 5.5rem;
  text-align: right !important;
}

#roomBookingsTable .room-booking-col-actions .d-flex {
  gap: 0.4rem !important;
}

#mealServicesTable .meal-service-col-actions .d-flex {
  gap: 0.4rem !important;
}

#roomBookingsTable .room-booking-col-actions .table-action-btn {
  width: 1.9rem;
  min-width: 1.9rem;
  height: 1.9rem;
}

#mealServicesTable .meal-service-col-actions .table-action-btn {
  width: 1.9rem;
  min-width: 1.9rem;
  height: 1.9rem;
}

#roomBookingsTable .room-booking-col-actions .table-action-btn svg,
#roomBookingsTable .room-booking-col-actions .table-action-btn iconify-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  pointer-events: none;
}

#mealServicesTable .meal-service-col-actions .table-action-btn svg,
#mealServicesTable .meal-service-col-actions .table-action-btn iconify-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  pointer-events: none;
}

.service-note-btn {
  color: #f59e0b;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.service-note-btn:hover {
  color: #b45309;
  background: #ffedd5;
}

.service-note-modal-text {
  white-space: pre-wrap;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.6;
}

.room-booking-col-count,
.room-booking-col-reservation,
.room-booking-col-room-selection,
.room-booking-col-user,
.meal-service-col-count,
.meal-service-col-reservation,
.meal-service-col-user {
  width: 1%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#roomBookingsTable th.room-booking-col-count,
#roomBookingsTable td.room-booking-col-count,
#roomBookingsTable th.room-booking-col-reservation,
#roomBookingsTable td.room-booking-col-reservation,
#roomBookingsTable th.room-booking-col-room-selection,
#roomBookingsTable td.room-booking-col-room-selection,
#roomBookingsTable th.room-booking-col-user,
#roomBookingsTable td.room-booking-col-user,
#roomBookingsTable th.room-booking-col-date,
#roomBookingsTable td.room-booking-col-date,
#roomBookingsTable th.room-booking-col-money,
#roomBookingsTable td.room-booking-col-money,
#mealServicesTable th.meal-service-col-count,
#mealServicesTable td.meal-service-col-count,
#mealServicesTable th.meal-service-col-reservation,
#mealServicesTable td.meal-service-col-reservation,
#mealServicesTable th.meal-service-col-user,
#mealServicesTable td.meal-service-col-user,
#mealServicesTable th.meal-service-col-date,
#mealServicesTable td.meal-service-col-date,
#mealServicesTable th.meal-service-col-money,
#mealServicesTable td.meal-service-col-money {
  text-align: center !important;
}

#roomBookingsTable th.room-booking-col-count.dt-type-numeric,
#roomBookingsTable td.room-booking-col-count.dt-type-numeric,
#roomBookingsTable th.room-booking-col-date.dt-type-numeric,
#roomBookingsTable td.room-booking-col-date.dt-type-numeric,
#roomBookingsTable th.room-booking-col-money.dt-type-numeric,
#roomBookingsTable td.room-booking-col-money.dt-type-numeric,
#mealServicesTable th.meal-service-col-count.dt-type-numeric,
#mealServicesTable td.meal-service-col-count.dt-type-numeric,
#mealServicesTable th.meal-service-col-date.dt-type-numeric,
#mealServicesTable td.meal-service-col-date.dt-type-numeric,
#mealServicesTable th.meal-service-col-money.dt-type-numeric,
#mealServicesTable td.meal-service-col-money.dt-type-numeric {
  text-align: center !important;
}

.accounting-hotel-action-btn {
  display: inline-flex;
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.accounting-hotel-action-btn .room-booking-action-icon {
  width: 0.9rem;
  height: 0.9rem;
}

#companiesTable thead th:last-child {
  text-align: right !important;
}

#hotelsTable thead th:last-child {
  text-align: right !important;
  width: 1%;
  white-space: nowrap;
}

#hotelsTable thead th:first-child,
#hotelsTable tbody td:first-child {
  border-left: 1px solid #edf1f7;
  width: 1%;
  white-space: nowrap;
}

#hotelsTable thead th:last-child,
#hotelsTable tbody td:last-child {
  border-right: 1px solid #edf1f7;
}

#hotelsTable thead th:first-child,
#hotelsTable tbody td:first-child {
  width: 1%;
  white-space: nowrap;
}

#hotelsTable .hotel-col-actions {
  text-align: right !important;
  width: 240px;
  min-width: 240px;
  white-space: nowrap;
}

#hotelsTable .hotel-col-nightly-price {
  width: 120px;
  min-width: 120px;
  white-space: nowrap;
}

#companiesTable tbody tr:nth-child(odd) > *,
#accountingCompaniesTable tbody tr:nth-child(odd) > *,
#companyPaymentsTable tbody tr:nth-child(odd) > *,
#hotelPaymentsTable tbody tr:nth-child(odd) > *,
#roomBookingsTable tbody tr:nth-child(odd) > *,
#mealServicesTable tbody tr:nth-child(odd) > *,
#inventoryTable tbody tr:nth-child(odd) > *,
#hotelsTable tbody tr:nth-child(odd) > * {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 9999px #ffffff !important;
}

#companiesTable tbody tr:nth-child(even) > *,
#accountingCompaniesTable tbody tr:nth-child(even) > *,
#companyPaymentsTable tbody tr:nth-child(even) > *,
#hotelPaymentsTable tbody tr:nth-child(even) > *,
#roomBookingsTable tbody tr:nth-child(even) > *,
#mealServicesTable tbody tr:nth-child(even) > *,
#inventoryTable tbody tr:nth-child(even) > *,
#hotelsTable tbody tr:nth-child(even) > * {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 9999px #eaf1ff !important;
}

.hotel-status-switch {
  position: relative;
  width: 2.4rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.hotel-status-toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
}

.hotel-status-switch-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-color: #aeb6c6;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.hotel-status-switch-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.16rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.hotel-status-toggle:checked + .hotel-status-switch-track {
  background-color: #4f7df6;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.1);
}

.hotel-status-toggle:checked + .hotel-status-switch-track::after {
  transform: translate(0.96rem, -50%);
}

.hotel-status-toggle:focus-visible + .hotel-status-switch-track,
.hotel-status-toggle:focus + .hotel-status-switch-track {
  box-shadow: 0 0 0 0.15rem rgba(79, 125, 246, 0.16);
}

form .btn {
  min-height: 40px;
  height: 40px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-booking-filter-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.45rem;
}

.room-booking-action-btn {
  padding-inline: 0.75rem;
  gap: 0.4rem;
  white-space: nowrap;
}

.room-booking-action-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-booking-export-btn {
  width: auto;
  min-width: 0;
  padding-inline: 0.8rem;
  justify-content: space-between;
  gap: 0.45rem;
  overflow: hidden;
}

.room-booking-export-btn-text {
  line-height: 1;
  white-space: nowrap;
}

.room-booking-export-btn-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-booking-export-btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.company-payment-actions .company-service-field {
  width: 170px;
  flex: 0 0 170px;
}

.company-payment-actions .company-service-field .form-label {
  margin-bottom: 0.25rem;
}

.company-payment-actions .company-service-field .form-control {
  width: 100%;
}

.accounting-payment-hero-actions {
  gap: 20px;
}

.accounting-payment-balance {
  min-width: fit-content;
}

.accounting-payment-balance-label {
  display: block;
  transform: translateY(0);
  line-height: 1.1;
  margin-bottom: 0;
}

.accounting-payment-balance-value {
  line-height: 1.1;
}

.accounting-payment-action-btn {
  margin-top: -2px;
}

.company-payment-modal-dialog {
  width: min(32rem, calc(100vw - 1.5rem));
  max-width: min(32rem, calc(100vw - 1.5rem));
}

.company-payment-modal {
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.18);
}

.company-payment-modal .modal-header {
  padding: 1rem 1.25rem 0.5rem;
}

.company-payment-modal .modal-body {
  padding: 0.5rem 1.25rem 1.25rem;
}

.company-payment-modal .modal-footer {
  padding: 0 1.25rem 1.25rem;
}

.company-payment-modal .form-label {
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.company-payment-modal .invalid-feedback {
  display: none;
}

.company-payment-modal .invalid-feedback:not(.d-none) {
  display: block;
}

.filter-panel .filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.brand-st-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.auth-brand-mark {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.25rem 0.75rem;
}

.sidebar-brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
}

.sidebar.active .sidebar-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.sidebar.active .sidebar-brand-text {
  display: none;
}

.sidebar.active .sidebar-logo {
  justify-content: center;
  padding-inline: 0.5rem;
}

.sidebar.active:hover .sidebar-brand-text {
  display: flex;
}

.sidebar.active:hover .sidebar-logo {
  justify-content: flex-start;
  padding-inline: 0.25rem 0.25rem;
}


.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 1rem;
  border-inline-end: 1px solid var(--neutral-200);
  border-block-end: 1px solid var(--neutral-200);
  justify-content: flex-start;
}

.sidebar-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
}

.sidebar.active .sidebar-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.sidebar.active .sidebar-brand-text {
  display: none;
}

.sidebar.active .sidebar-logo {
  justify-content: center;
  padding-inline: 0.5rem;
}

.sidebar.active:hover .sidebar-brand-text {
  display: flex;
}

.sidebar.active:hover .sidebar-logo {
  justify-content: flex-start;
  padding-inline: 0.25rem 0.25rem;
}

.sidebar-brand-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary-light);
  white-space: nowrap;
}

.sidebar-brand-subtitle {
  margin-top: 0.2rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary-light);
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .sidebar {
    width: 11rem;
  }

  .dashboard-main {
    margin-inline-start: 11rem;
  }

  .sidebar.active {
    width: 86px;
  }

  .sidebar.active:hover {
    width: 11rem;
  }

  .dashboard-main.active {
    margin-inline-start: 86px;
  }
}

@media (min-width: 1400px) {
  .sidebar {
    width: 14rem;
  }

  .dashboard-main {
    margin-inline-start: 14rem;
  }

  .sidebar.active:hover {
    width: 14rem;
  }
}

@media (min-width: 1650px) {
  .sidebar {
    width: 16rem;
  }

  .dashboard-main {
    margin-inline-start: 16rem;
  }

  .sidebar.active:hover {
    width: 16rem;
  }
}

.dashboard-stat-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.dashboard-stat-card-1 { background: linear-gradient(135deg, #e0f2fe 0%, #eff6ff 100%); }
.dashboard-stat-card-2 { background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%); }
.dashboard-stat-card-3 { background: linear-gradient(135deg, #cffafe 0%, #ecfeff 100%); }
.dashboard-stat-card-4 { background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%); }
.dashboard-stat-card-5 { background: linear-gradient(135deg, #ffe4e6 0%, #fff1f2 100%); }
.dashboard-stat-card-6 { background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%); }
.dashboard-stat-card-7 { background: linear-gradient(135deg, #e9d5ff 0%, #f5f3ff 100%); }
.dashboard-stat-card-8 { background: linear-gradient(135deg, #ccfbf1 0%, #f0fdfa 100%); }

.dashboard-stat-badge {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.dashboard-stat-badge-1 { background: #0284c7; }
.dashboard-stat-badge-2 { background: #7c3aed; }
.dashboard-stat-badge-3 { background: #06b6d4; }
.dashboard-stat-badge-4 { background: #16a34a; }
.dashboard-stat-badge-5 { background: #f97316; }
.dashboard-stat-badge-6 { background: #d946ef; }
.dashboard-stat-badge-7 { background: #2563eb; }
.dashboard-stat-badge-8 { background: #0f766e; }

.room-booking-selected-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
  min-height: 34px;
  max-height: 76px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #ffffff;
}

.room-booking-selected-summary-empty {
  color: #64748b;
  font-size: 0.82rem;
}

.room-booking-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #bfd0ff;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
}

.room-booking-selected-chip-capacity {
  color: #64748b;
  font-weight: 600;
}

.occupancy-stat {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.occupancy-stat span {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.occupancy-stat strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1;
}

.occupancy-stat-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.occupancy-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.occupancy-stat-icon iconify-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.occupancy-stat-icon-total {
  background: #2563eb;
}

.occupancy-stat-icon-occupied {
  background: #dc2626;
}

.occupancy-stat-icon-empty {
  background: #16a34a;
}

.occupancy-stat-icon-rate {
  background: #0f766e;
}

.occupancy-stat-danger {
  border-color: #fecaca;
  background: #fef2f2;
}

.occupancy-stat-danger span,
.occupancy-stat-danger strong {
  color: #b91c1c;
}

.occupancy-stat-overbooking {
  min-height: 76px;
  padding-block: 12px;
}

.occupancy-stat-overbooking-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.occupancy-stat-overbooking-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: max-content;
}

.occupancy-stat-overbooking-meta small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.occupancy-stat-overbooking-detail {
  min-height: 0;
  padding: 3px 8px;
  font-size: 0.72rem;
  line-height: 1.2;
}

.occupancy-stat-overbooking-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.occupancy-stat-overbooking-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.occupancy-stat-overbooking-count strong {
  margin-top: 0;
}

.occupancy-stat-overbooking-value em {
  color: #b91c1c;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.occupancy-stat-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.occupancy-stat-success span,
.occupancy-stat-success strong {
  color: #047857;
}

.occupancy-date-range-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.occupancy-date-range-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.occupancy-date-range-field span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.occupancy-date-range-field input,
.occupancy-date-range-field select {
  min-width: 150px;
}

.occupancy-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.occupancy-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.occupancy-matrix-shell {
  width: 100%;
}

.occupancy-matrix-wrap {
  width: 100%;
  max-height: 66vh;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  scrollbar-gutter: stable;
}

.occupancy-matrix-shell .occupancy-matrix-wrap {
  border-radius: 8px 8px 0 0;
}

.occupancy-matrix-shell--page .occupancy-matrix-wrap {
  min-height: 420px;
  max-height: calc(100vh - 340px);
}

.occupancy-matrix-bottom-scroll {
  width: 100%;
  height: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e2e8f0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #f8fafc;
}

.occupancy-matrix-bottom-scroll-spacer {
  height: 1px;
}

.occupancy-matrix-wrap::-webkit-scrollbar,
.occupancy-matrix-bottom-scroll::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.occupancy-matrix-wrap::-webkit-scrollbar-track,
.occupancy-matrix-bottom-scroll::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 999px;
}

.occupancy-matrix-wrap::-webkit-scrollbar-thumb,
.occupancy-matrix-bottom-scroll::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border: 3px solid #eef2f7;
  border-radius: 999px;
}

.occupancy-matrix-wrap::-webkit-scrollbar-thumb:hover,
.occupancy-matrix-bottom-scroll::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.occupancy-matrix-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #0f172a;
}

.occupancy-matrix-table th,
.occupancy-matrix-table td {
  min-width: 92px;
  height: 44px;
  padding: 8px 10px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  white-space: nowrap;
  font-size: 0.82rem;
}

.occupancy-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
  text-align: center;
}

.occupancy-matrix-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.occupancy-matrix-table tbody tr:hover td {
  background: #eef4ff;
}

.occupancy-matrix-table .occupancy-sticky {
  position: sticky;
  z-index: 3;
  background: #ffffff;
  text-align: left;
}

.occupancy-matrix-table thead .occupancy-sticky {
  z-index: 5;
  background: #f8fafc;
}

.occupancy-room-type-col {
  left: 0;
  min-width: 118px !important;
  max-width: 118px;
}

.occupancy-room-code-col {
  left: 118px;
  min-width: 86px !important;
  max-width: 86px;
}

.occupancy-cell {
  text-align: center;
}

.occupancy-cell-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 70px;
  padding: 4px 7px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}

.occupancy-cell-empty .occupancy-cell-pill {
  color: #047857;
  background: #ecfdf5;
}

.occupancy-cell-occupied .occupancy-cell-pill {
  color: #b91c1c;
  background: #fef2f2;
}

.occupancy-cell-checkout .occupancy-cell-pill {
  color: #1d4ed8;
  background: #eff6ff;
}

.occupancy-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.65), 0 1px 2px rgba(15, 23, 42, 0.2);
}

.occupancy-dot-empty {
  background: linear-gradient(180deg, #22c55e, #059669);
}

.occupancy-dot-occupied {
  background: linear-gradient(180deg, #f87171, #dc2626);
}

.occupancy-dot-checkout {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.contract-file-picker {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.contract-file-picker input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.contract-file-picker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 118px;
  padding: 0 16px;
  border-right: 1px solid #d1d5db;
  background: #ffffff;
  color: #1f2937;
  font-weight: 700;
}

.contract-file-picker-name {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 14px;
  color: #64748b;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-file-picker:focus-within {
  border-color: #487fff;
  box-shadow: 0 0 0 0.18rem rgba(72, 127, 255, 0.12);
}

.contracts-table th:last-child,
.contracts-table td:last-child {
  white-space: nowrap;
}

.contracts-table.bordered-table {
  width: 100% !important;
  min-width: 100% !important;
}

.contract-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.contract-actions form {
  margin: 0;
}

.contract-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  font-weight: 700;
  white-space: nowrap;
}

.contract-action-btn iconify-icon {
  font-size: 16px;
}

.contract-current-file {
  margin-top: 8px;
  color: #64748b;
  font-weight: 600;
}

.contract-current-file a {
  color: #487fff;
  text-decoration: none;
}

.contract-current-file a:hover {
  text-decoration: underline;
}

.room-type-floor-list,
.room-booking-floor-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.room-booking-floor-list--compact {
  gap: 10px;
}

.room-booking-floor-list--compact .room-booking-floor-row {
  padding: 0;
  border-radius: 12px;
}

.room-booking-floor-list--compact .room-booking-floor-toggle {
  padding: 8px 10px;
  gap: 10px;
}

.room-booking-floor-list--compact .room-booking-floor-title-main {
  font-size: 0.92rem;
}

.room-booking-floor-list--compact .room-booking-floor-title-sub {
  font-size: 0.74rem;
}

.room-booking-floor-list--compact .room-booking-floor-chevron {
  width: 28px;
  height: 28px;
  margin-top: 0;
  font-size: 0.78rem;
}

.room-booking-floor-list--compact .room-booking-floor-body {
  padding: 0 8px 8px;
}

.room-booking-floor-list--compact .room-booking-floor-scroll-wrap {
  gap: 6px;
}

.room-booking-floor-list--compact .room-booking-floor-scroll,
.room-booking-floor-list--compact .room-type-floor-scroll {
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 0;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: auto;
  touch-action: pan-x;
  -ms-overflow-style: none;
}

.room-booking-floor-list--compact .room-booking-floor-cards {
  grid-auto-columns: 64px;
  gap: 8px;
  min-height: 78px;
}

.room-booking-floor-list--compact .room-booking-floor-scroll::-webkit-scrollbar,
.room-booking-floor-list--compact .room-type-floor-scroll::-webkit-scrollbar {
  height: 0;
}

.room-booking-floor-list--compact .room-booking-floor-scroll::-webkit-scrollbar-track,
.room-booking-floor-list--compact .room-type-floor-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.room-booking-floor-list--compact .room-booking-floor-scroll::-webkit-scrollbar-thumb,
.room-booking-floor-list--compact .room-type-floor-scroll::-webkit-scrollbar-thumb {
  background: transparent;
}

.room-booking-floor-list--compact .room-booking-floor-scroll::-webkit-scrollbar-thumb:hover,
.room-booking-floor-list--compact .room-type-floor-scroll::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.room-booking-scroll-rail {
  position: relative;
  width: 100%;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  cursor: grab;
}

.room-booking-scroll-rail.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.room-booking-scroll-rail.is-dragging {
  cursor: grabbing;
}

.room-booking-scroll-thumb {
  position: absolute;
  top: 1px;
  left: 0;
  height: 6px;
  border-radius: 999px;
  background: #64748b;
  cursor: grab;
  will-change: transform, width;
}

.room-booking-scroll-thumb:hover {
  background: #475569;
}

.room-type-floor-list--legacy .room-type-floor-row--legacy {
  display: flex;
  align-items: stretch;
  gap: 14px;
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px;
  overflow: visible;
  border: 0;
}

.room-type-floor-list--legacy .room-type-floor-label--legacy {
  flex: 0 0 54px;
}

.room-type-floor-list--legacy .room-type-floor-scroll-wrap--legacy {
  flex: 1 1 auto;
  min-width: 0;
}

.room-type-floor-row {
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.room-type-floor-header {
  margin: 0;
}

.room-type-floor-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px;
  display: flex;
  align-items: stretch;
  gap: 14px;
  text-align: left;
}

.room-type-floor-toggle:hover {
  background: rgba(76, 124, 240, 0.04);
}

.room-type-floor-label {
  flex: 0 0 54px;
  min-height: 92px;
  border-radius: 12px;
  background: linear-gradient(180deg, #4c7cf0 0%, #3864df 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.room-type-floor-title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: #0f172a;
  font-weight: 700;
}

.room-type-floor-title-main {
  font-size: 1rem;
  line-height: 1.15;
}

.room-type-floor-title-sub {
  font-size: 0.85rem;
  line-height: 1.15;
  color: #64748b;
  font-weight: 600;
}

.room-type-floor-chevron {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-top: 26px;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease;
}

.room-type-floor-toggle[aria-expanded="true"] .room-type-floor-chevron {
  transform: rotate(180deg);
}

.room-type-floor-body {
  padding: 0 10px 10px;
}

.room-type-floor-scroll {
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e2e8f0;
}

.room-type-floor-scroll::-webkit-scrollbar {
  height: 10px;
}

.room-type-floor-scroll::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}

.room-type-floor-scroll::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}

.room-type-floor-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72px;
  gap: 10px;
  align-items: start;
  min-height: 92px;
}

.room-type-floor-scroll-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.room-type-scroll-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.room-type-scroll-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.room-type-card-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.room-type-card {
  width: 72px;
  height: 72px;
  border: 1px solid #d8e1ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fef5dc 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.room-type-card:hover {
  transform: translateY(-1px);
  border-color: #7da2ff;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.12);
}

.room-type-card:focus-visible {
  outline: 2px solid #4c7cf0;
  outline-offset: 2px;
}

.room-type-card-static {
  cursor: default;
}

.room-type-card-code {
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.room-type-card-capacity {
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
}

.room-type-delete-form {
  margin: 0;
}

.room-type-delete-btn {
  border: 0;
  background: transparent;
  color: #ef4444;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-type-delete-btn:hover {
  color: #dc2626;
}
