tr::hover {
  cursor: pointer;
}

.time-start {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 20px;
  overflow-y: auto;
}

.time-start::-ms-expand {
  display: none;
}

.form-control {
  border-radius: 5px;
}

.editor-custom {
  border-radius: 5px;
  min-height: 0px;
  overflow: hidden
}

body.nav-md:not(:has(.left_col)) select {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
}

body.nav-md:not(:has(.left_col)) .right_col {
  max-width: 100%;
  box-sizing: border-box;
}

body.nav-md:not(:has(.left_col)) .right_col>.row {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.nav-md:not(:has(.left_col)) .right_col>.row>.col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.nav-md:not(:has(.left_col)) .right_col>.row>.card,
body.nav-md:not(:has(.left_col)) .right_col>.row>[class*="col-"] {
  min-width: 0;
  max-width: 100%;
}

body.nav-md:not(:has(.left_col)) .right_col>.row>.card {
  flex: 1 1 100%;
  width: 100%;
}

.home-stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  margin: 4px 0 0;
}

.home-stat {
  float: none !important;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid #e7eef3;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(42, 63, 84, 0.06);
  text-align: left;
  box-sizing: border-box;
}

.home-stat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 18px;
}

.home-stat-usage .home-stat-icon {
  background: #e7f8f4;
  color: #0f9f86;
}

.home-stat-room .home-stat-icon {
  background: #e8f3fb;
  color: #2e86c1;
}

.home-stat-member .home-stat-icon {
  background: #eef2f6;
  color: #2a3f54;
}

.home-stat-copy {
  min-width: 0;
}

.home-stat-label {
  color: #73879c;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-stat-value {
  margin-top: 2px;
  color: #2a3f54;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.home-stat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  min-width: 0;
}

.home-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f4f7fa;
  color: #5e7384;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-stat-chip strong {
  color: #2a3f54;
  font-weight: 700;
}

.home-search {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}

.home-search-input {
  position: relative;
  flex: 1 1 280px;
  max-width: 640px;
  min-width: 0;
}

.home-search-action {
  flex: 0 0 120px;
}

.home-search-input .form-control {
  height: 46px;
  border: 1px solid #d7e2ea;
  border-radius: 12px;
  background: #f8fbfc;
  box-shadow: none;
  padding-right: 42px;
}

.home-search-input .form-control:focus {
  border-color: #1abb9c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 187, 156, 0.16);
}

.home-search-action .btn {
  height: 46px;
  min-width: 112px;
  white-space: nowrap;
}

body.nav-md:not(:has(.left_col)) {
  margin: 0 !important;
  background: #f4f7fa;
}

body.nav-md:not(:has(.left_col))>.container.body,
body.nav-md:not(:has(.left_col))>footer {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}

body.nav-md:not(:has(.left_col)) .top_nav .navbar-left,
body.nav-md:not(:has(.left_col)) .top_nav .navbar-right {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.nav-md:not(:has(.left_col)) .top_nav .navbar-right>li {
  padding-left: 0 !important;
}

body.nav-md:not(:has(.left_col)) .top_nav .navbar-right .btn {
  margin-right: 0 !important;
}

body.nav-md:not(:has(.left_col)) .top_nav {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1144px, calc(100% - 56px));
  transform: translateX(-50%);
  z-index: 1020;
  overflow: visible;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(42, 63, 84, 0.1);
  transition: box-shadow 0.2s ease;
}

body.is-scrolled .top_nav {
  box-shadow: 0 16px 40px rgba(42, 63, 84, 0.16);
}

body.nav-md:not(:has(.left_col)) .top_nav .nav_menu {
  float: none;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 64px;
  margin: 0;
  padding: 0 12px 0 18px;
  background: transparent;
  border: 0;
  border-radius: 22px;
  box-sizing: border-box;
}

body.nav-md:not(:has(.left_col)) .top_nav .nav.navbar-nav,
body.nav-md:not(:has(.left_col)) .top_nav .justify-content-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
}

body.nav-md:not(:has(.left_col))>.container.body {
  padding-top: 98px;
}

body.nav-md:not(:has(.left_col))>footer {
  margin-top: 4px;
  padding-top: 8px;
  padding-bottom: 20px;
  color: #8aa0b2;
  font-size: 13px;
  text-align: center;
  background: transparent;
}

body.nav-md:not(:has(.left_col))>footer .pull-right {
  float: none !important;
}

body.nav-md:not(:has(.left_col))>footer .site-version {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #169f85;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.nav-md:not(:has(.left_col))>footer .site-version:hover,
body.nav-md:not(:has(.left_col))>footer .site-version:focus {
  color: #128f78;
  text-decoration: underline;
}

body.nav-md:not(:has(.left_col)) .site-version-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(36, 54, 70, 0.45);
  text-align: left;
}

body.nav-md:not(:has(.left_col)) .site-version-modal[hidden] {
  display: none !important;
}

body.nav-md:not(:has(.left_col)) .site-version-card {
  width: min(560px, 100%);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  color: #243646;
  font-size: 15px;
}

body.nav-md:not(:has(.left_col)) .site-version-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e7eef3;
}

body.nav-md:not(:has(.left_col)) .site-version-head h3 {
  margin: 0;
  color: #2a3f54;
  font-size: 1.15rem;
  font-weight: 700;
}

body.nav-md:not(:has(.left_col)) .site-version-title time {
  display: block;
  margin-top: 4px;
  color: #8aa0b2;
  font-size: 13px;
  font-weight: 600;
}

body.nav-md:not(:has(.left_col)) .site-version-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f4f7fa;
  color: #5e7384;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.nav-md:not(:has(.left_col)) .site-version-close:hover,
body.nav-md:not(:has(.left_col)) .site-version-close:focus {
  background: #e7f8f4;
  color: #0f9f86;
}

body.nav-md:not(:has(.left_col)) .site-version-body {
  overflow: auto;
  padding: 8px 22px 20px;
}

body.nav-md:not(:has(.left_col)) .site-version-body h4 {
  margin: 16px 0 8px;
  color: #169f85;
  font-size: 14px;
  font-weight: 700;
}

body.nav-md:not(:has(.left_col)) .site-version-body ul {
  margin: 0;
  padding-left: 18px;
}

body.nav-md:not(:has(.left_col)) .site-version-body li {
  margin: 6px 0;
  color: #243646;
  line-height: 1.55;
}

@media (min-width: 992px) {

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left,
  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right {
    display: flex !important;
    align-items: center;
    float: none !important;
    width: auto !important;
    gap: 2px;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left li,
  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right li {
    float: none !important;
    display: flex !important;
    align-items: center;
    margin: 0 !important;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right>li.sso-switch {
    margin-right: 8px !important;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left>li:first-child {
    margin-right: 8px !important;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left>li:first-child a {
    font-size: 22px !important;
    font-weight: 700;
    color: #2a3f54;
    letter-spacing: -0.03em;
    transition: color 0.22s ease;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left>li:first-child a:hover {
    color: #0f9f86;
  }

  body.nav-md:not(:has(.left_col)) .navbar-left-text {
    position: relative;
    isolation: isolate;
    padding: 8px 12px;
    border-radius: 999px;
    background: transparent;
    color: #5e7384;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.22s ease;
  }

  body.nav-md:not(:has(.left_col)) .navbar-left-text::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: #e7f8f4;
    opacity: 0;
    transform: scale(0.82);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  body.nav-md:not(:has(.left_col)) .navbar-left-text:hover,
  body.nav-md:not(:has(.left_col)) .navbar-left-text:focus {
    color: #0f9f86;
  }

  body.nav-md:not(:has(.left_col)) .navbar-left-text:hover::before,
  body.nav-md:not(:has(.left_col)) .navbar-left-text:focus::before,
  body.nav-md:not(:has(.left_col)) .navbar-left .nav-item .navbar-left-text.active::before {
    opacity: 1;
    transform: scale(1);
  }

  body.nav-md:not(:has(.left_col)) .navbar-left .nav-item .navbar-left-text.active {
    background: transparent;
    color: #0f9f86;
    font-weight: 700;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right .btn {
    border: 0;
    border-radius: 999px;
    background: #169f85;
    color: #fff;
    font-weight: 600;
    padding: 8px 16px;
    box-shadow: none;
    transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right .btn:hover,
  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right .btn:focus {
    background: #128f78;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(22, 159, 133, 0.28);
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {

  body.nav-md:not(:has(.left_col)) .navbar-left-text,
  body.nav-md:not(:has(.left_col)) .navbar-left-text::before,
  body.nav-md:not(:has(.left_col)) .top_nav .navbar-right .btn,
  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left>li:first-child a {
    transition: none;
  }
}

body.nav-md:not(:has(.left_col)) .right_col {
  background: transparent !important;
  width: 100% !important;
  min-height: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.right_col>.row.mt-5 {
  margin-top: 18px !important;
}

.right_col>.row>.card {
  border: 1px solid #e7eef3 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(42, 63, 84, 0.06);
  padding: 22px 22px 20px;
}

.right_col .card h3 {
  margin: 0 0 14px;
  color: #2a3f54;
  font-size: 1.25rem;
  font-weight: 700;
}

.home-calendar-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.home-calendar-head .btn {
  align-self: center;
  flex: 0 0 auto;
}

.home-calendar-head h3 {
  order: -1;
  flex: 1 1 auto;
  margin: 0;
  text-align: left;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-calendar-head h3 small,
.right_col .card h3 small {
  display: block;
  margin-top: 4px;
  color: #8aa0b2;
  font-weight: 500;
}

.right_col .btn-darkblue,
.modal .btn-darkblue,
.modal .btn-secondary,
.room-empty-head .btn-darkblue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.right_col .btn-darkblue,
.modal .btn-darkblue,
.room-empty-head .btn-darkblue {
  border: 0;
  border-radius: 12px;
  background: #169f85;
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  box-shadow: 0 8px 16px rgba(22, 159, 133, 0.22);
}

.right_col .btn-darkblue.btn-block {
  display: flex;
  width: 100%;
}

.right_col .btn-darkblue:hover,
.right_col .btn-darkblue:focus,
.modal .btn-darkblue:hover,
.modal .btn-darkblue:focus,
.room-empty-head .btn-darkblue:hover,
.room-empty-head .btn-darkblue:focus {
  background: #128f78;
  color: #fff;
}

.modal .btn-secondary {
  border: 0;
  border-radius: 12px;
  background: #eef2f6;
  color: #2a3f54;
  font-weight: 600;
  padding: 10px 18px;
}

.modal .btn-secondary:hover,
.modal .btn-secondary:focus {
  background: #e2e8ee;
  color: #2a3f54;
}

.modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.modal-header {
  border-bottom: 1px solid #eef2f6;
}

.modal-title {
  color: #2a3f54;
  font-weight: 700;
}

#reserveForm .form-control,
#reserveOutForm .form-control,
#editReserveForm .form-control,
#reserveForm .editor-custom,
#reserveOutForm .editor-custom,
#editReserveForm .editor-custom {
  border: 1px solid #d7e2ea !important;
  border-radius: 12px !important;
  background-color: #f8fbfc;
  color: #2a3f54;
  box-shadow: none;
}

#reserveForm .form-control,
#reserveOutForm .form-control,
#editReserveForm .form-control {
  height: 44px;
  padding: 8px 14px;
}

#reserveForm .form-control::placeholder,
#reserveOutForm .form-control::placeholder,
#editReserveForm .form-control::placeholder {
  color: #8aa0b2;
}

#reserveForm .form-control:focus,
#reserveOutForm .form-control:focus,
#editReserveForm .form-control:focus,
#reserveForm .editor-custom:focus,
#reserveOutForm .editor-custom:focus,
#editReserveForm .editor-custom:focus {
  border-color: #169f85 !important;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(22, 159, 133, 0.16);
  outline: none;
}

#reserveForm .form-control:disabled,
#reserveOutForm .form-control:disabled,
#editReserveForm .form-control:disabled,
#reserveForm .form-control[readonly],
#reserveOutForm .form-control[readonly],
#editReserveForm .form-control[readonly] {
  background-color: #f4f7fa;
  color: #5e7384;
  opacity: 1;
}

#reserveForm select.form-control,
#reserveOutForm select.form-control,
#editReserveForm select.form-control {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235e7384' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}

#reserveForm select.time-start,
#reserveOutForm select.time-start,
#editReserveForm select.time-start {
  background-image: none;
  padding-right: 40px;
}

#reserveForm .form-control-feedback.right,
#reserveOutForm .form-control-feedback.right,
#editReserveForm .form-control-feedback.right {
  border: 0;
  margin-top: 10px;
  color: #8aa0b2;
  background: transparent;
}

#reserveForm .editor-custom,
#reserveOutForm .editor-custom,
#editReserveForm .editor-custom {
  min-height: 96px;
  padding: 10px 12px;
}

#reserveForm .btn-toolbar.editor,
#reserveOutForm .btn-toolbar.editor,
#editReserveForm .btn-toolbar.editor {
  margin-bottom: 8px;
}

#reserveForm .btn-toolbar.editor .btn,
#reserveOutForm .btn-toolbar.editor .btn,
#editReserveForm .btn-toolbar.editor .btn {
  border: 0;
  border-radius: 8px;
  background: #f4f7fa;
  color: #2a3f54;
}

#reserveForm .form-group .h4,
#reserveOutForm .form-group .h4,
#editReserveForm .form-group .h4 {
  margin: 0;
  color: #5e7384;
  font-size: 14px;
  font-weight: 600;
  line-height: 44px;
}

.fc .fc-button {
  border: 0 !important;
  border-radius: 10px !important;
  background: #eef3f7 !important;
  color: #2a3f54 !important;
  font-weight: 600;
  box-shadow: none !important;
}

.fc .fc-button:hover,
.fc .fc-button:focus {
  background: #e2ebf1 !important;
  color: #2a3f54 !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  background: #169f85 !important;
  color: #fff !important;
}

.fc .fc-button-group>.fc-button {
  border-radius: 0 !important;
}

.fc .fc-button-group>.fc-button:first-child {
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

.fc .fc-button-group>.fc-button:last-child {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

#fullscreenCard {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#fullscreenCard.fullscreen-calendar {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  overflow: auto;
  border-radius: 0;
  background: #fff;
}

#calendar,
#calendar .fc,
#calendar .fc-view-harness {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#fullscreenCard .fc {
  --fc-border-color: #e7eef3;
  --fc-neutral-bg-color: #f4f8fb;
  --fc-today-bg-color: rgba(22, 159, 133, 0.08);
  --fc-now-indicator-color: #ef5b4c;
  --fc-event-text-color: #fff;
  color: #2a3f54;
}

#fullscreenCard .fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 14px;
  align-items: center;
}

#fullscreenCard .fc .fc-toolbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2a3f54;
}

#fullscreenCard .fc .fc-button {
  min-height: 36px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

#fullscreenCard .fc .fc-button:focus-visible {
  outline: 2px solid #169f85;
  outline-offset: 2px;
}

#fullscreenCard .fc .fc-scrollgrid {
  border-radius: 14px;
  overflow: hidden;
}

#fullscreenCard .fc .fc-timeline-slot-cushion,
#fullscreenCard .fc .fc-datagrid-cell-cushion {
  padding-top: 8px;
  padding-bottom: 8px;
}

#fullscreenCard .fc .fc-timeline-slot-label .fc-timeline-slot-cushion {
  color: #5e7384;
  font-size: 13px;
  font-weight: 700;
}

#fullscreenCard .fc .fc-timeline-slot-minor {
  border-color: transparent !important;
}

#fullscreenCard .fc .fc-datagrid-header .fc-datagrid-cell-cushion {
  background: #f7fafc;
  color: #2a3f54;
  font-weight: 700;
}

#fullscreenCard .fc .fc-resource .fc-datagrid-cell-main {
  color: #2a3f54;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

#fullscreenCard .fc .fc-datagrid-cell.fc-resource-group {
  box-shadow: inset 3px 0 0 #169f85;
}

#fullscreenCard .fc .fc-resource-group .fc-datagrid-cell-main {
  color: #137a68;
  font-size: 13px;
  font-weight: 700;
}

#fullscreenCard .fc .fc-datagrid-expander {
  color: #169f85;
}

#fullscreenCard .fc .fc-timeline-lane.fc-resource {
  cursor: pointer;
}

#fullscreenCard .fc tr.is-row-hover>.fc-datagrid-cell.fc-resource,
#fullscreenCard .fc tr.is-row-hover>.fc-timeline-lane.fc-resource {
  background: #f3fbf9 !important;
}

#fullscreenCard .fc .fc-timeline-event {
  border: 0 !important;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(42, 63, 84, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#fullscreenCard .fc .fc-timeline-event:hover {
  z-index: 6;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(42, 63, 84, 0.22);
}

#fullscreenCard .fc .fc-event-title {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

#fullscreenCard .fc .fc-timeline-now-indicator-line {
  border-width: 2px;
}

#fullscreenCard .fc .fc-list {
  border-radius: 14px;
  overflow: hidden;
}

#fullscreenCard .fc .fc-list-day-cushion {
  background: #f7fafc;
  color: #2a3f54;
  font-weight: 700;
}

#fullscreenCard .fc .fc-list-event:hover td {
  background: #f3fbf9;
}

.room-empty-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.room-empty-head .btn {
  margin-left: auto;
}

.room-empty-head .h5 {
  overflow-wrap: anywhere;
}

.btn-toolbar.editor {
  flex-wrap: wrap;
}

.modal .dataTables_wrapper,
.modal .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

#showRoomEmpty .modal-body {
  padding-top: 12px;
}

#showRoomEmpty .room-empty-head {
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7fafc;
}

#showRoomEmpty .room-empty-head .h5 {
  margin: 0;
  color: #2a3f54;
  font-size: 15px;
  font-weight: 600;
}

#showRoomEmpty .card-box {
  margin: 0;
  padding: 4px 4px 0;
  border: 1px solid #e7eef3;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

#showRoomEmpty .dataTables_wrapper {
  color: #5e7384;
  font-size: 13px;
}

#showRoomEmpty .dataTables_length,
#showRoomEmpty .dataTables_filter,
#showRoomEmpty .dataTables_info {
  padding: 8px 8px 4px;
}

#showRoomEmpty .dataTables_length select,
#showRoomEmpty .dataTables_filter input {
  height: 36px;
  margin-left: 8px;
  padding: 0 12px;
  border: 1px solid #e7eef3;
  border-radius: 10px;
  background: #fff;
  color: #2a3f54;
  box-shadow: none;
}

#showRoomEmpty .dataTables_length select:focus,
#showRoomEmpty .dataTables_filter input:focus {
  border-color: #169f85;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 159, 133, 0.16);
}

#showRoomEmpty table.dataTable {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  border: 0 !important;
}

#showRoomEmpty table.dataTable th,
#showRoomEmpty table.dataTable td {
  box-sizing: border-box;
  border-color: transparent !important;
}

#showRoomEmpty table.dataTable thead th {
  padding: 12px 14px;
  border-bottom: 1px solid #e7eef3 !important;
  background: #f7fafc;
  color: #5e7384;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

#showRoomEmpty table.dataTable tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f4f8 !important;
  background: #fff;
  color: #2a3f54;
  vertical-align: middle;
}

#showRoomEmpty table.dataTable tbody tr:last-child td {
  border-bottom: 0 !important;
}

#showRoomEmpty table.dataTable tbody tr:hover td {
  background: #f3fbf9 !important;
}

#showRoomEmpty .dataTables_paginate {
  padding: 8px;
}

#showRoomEmpty .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

#showRoomEmpty .pagination>li>a,
#showRoomEmpty .pagination>li>span {
  margin: 0 2px;
  border: 0;
  border-radius: 10px;
  color: #2a3f54;
}

#showRoomEmpty .pagination>li>a:hover,
#showRoomEmpty .pagination>li>a:focus {
  background: #e7f8f4;
  color: #0f9f86;
}

#showRoomEmpty .pagination>.active>a,
#showRoomEmpty .pagination>.active>a:hover,
#showRoomEmpty .pagination>.active>span {
  border: 0;
  background: #169f85;
  color: #fff;
}

#showRoomEmpty .pagination>.disabled>a,
#showRoomEmpty .pagination>.disabled>span {
  color: #b7c5d1;
  background: transparent;
}

@media (max-width: 767.98px) {

  body.nav-md:not(:has(.left_col))>.container.body,
  body.nav-md:not(:has(.left_col))>footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.nav-md:not(:has(.left_col)) .top_nav {
    top: 10px;
    width: calc(100% - 32px);
    border-radius: 18px;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .nav_menu {
    min-height: 54px;
    padding: 0 14px;
    border-radius: 18px;
  }

  body.nav-md:not(:has(.left_col))>.container.body {
    padding-top: 80px;
  }

  body.nav-md:not(:has(.left_col)) .top_nav .navbar-left>li:first-child {
    margin: 0 !important;
  }
}

@media (max-width: 991.98px) {
  body.nav-md:not(:has(.left_col)) .right_col {
    width: 100% !important;
    margin-left: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  footer {
    margin-left: 0 !important;
    padding: 8px 12px 16px;
  }

  footer .pull-right {
    float: none !important;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .fc .fc-toolbar.fc-header-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .fc .fc-toolbar-chunk {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 2px 0;
    gap: 4px;
  }

  .fc .fc-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fc .fc-toolbar-title {
    font-size: 1.05rem;
  }

  .fc .fc-button {
    padding: 0.3em 0.45em;
    font-size: 0.8rem;
  }

  .fc .fc-datagrid-cell-cushion {
    white-space: normal;
    line-height: 1.3;
  }

  .home-stats {
    gap: 8px;
  }

  .home-stat {
    gap: 8px;
    padding: 12px 10px 10px;
    border-radius: 14px;
  }

  .home-stat-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .home-stat-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 10px;
    font-size: 15px;
  }

  .home-stat-label {
    min-height: 2.8em;
    font-size: 11px;
  }

  .home-stat-value {
    font-size: 1.45rem;
  }

  .home-stat-meta {
    display: none;
  }

  .home-calendar-head {
    flex-direction: column;
    align-items: stretch;
  }

  .home-calendar-head h3 {
    text-align: center;
  }

  .home-calendar-head .btn,
  .room-empty-head .btn {
    align-self: stretch;
    margin-left: 0;
    width: 100%;
  }

  .room-empty-head {
    flex-direction: column;
  }

  .modal-dialog {
    margin: 0.5rem auto;
    max-width: calc(100% - 1rem);
  }

  .modal-body {
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }

  .modal .form-horizontal .form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .modal .form-horizontal .form-group>label,
  .modal .form-horizontal .form-group>div {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  #fieldReserve,
  #fieldReserve_edit {
    gap: 6px 8px;
  }

  #fieldReserve>label,
  #fieldReserve_edit>label {
    flex: 1 0 100%;
  }

  #fieldReserve>div.col-md-4,
  #fieldReserve_edit>div.col-md-4 {
    flex: 1 1 90px;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
  }

  #fieldReserve>div.col-auto,
  #fieldReserve_edit>div.col-auto {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
  }

  .daterangepicker {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px);
    left: 8px !important;
    right: auto !important;
    box-sizing: border-box;
  }

  .daterangepicker .drp-calendar.left,
  .daterangepicker .drp-calendar.right {
    float: none !important;
    clear: both !important;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {

  .home-search-input,
  .home-search-action {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .modal .btn.float-right {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 0 8px !important;
  }
}

body.nav-md:not(:has(.left_col)) .page-title,
body.nav-md:not(:has(.left_col)) .page-title.ml-2 {
  margin: 0 0 14px !important;
}

body.nav-md:not(:has(.left_col)) .page-title h3 {
  margin: 0;
  color: #2a3f54;
  font-weight: 700;
}

body.nav-md:not(:has(.left_col)) .x_panel {
  border: 1px solid #e7eef3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 63, 84, 0.06);
  padding: 18px 18px 8px;
}

body.nav-md:not(:has(.left_col)) .x_title {
  border-bottom: 0;
  margin-bottom: 8px;
}

body.nav-md:not(:has(.left_col)) .right_col .dataTables_wrapper {
  color: #5e7384;
  font-size: 13px;
}

body.nav-md:not(:has(.left_col)) .right_col .dataTables_length select,
body.nav-md:not(:has(.left_col)) .right_col .dataTables_filter input {
  height: 36px;
  margin-left: 8px;
  padding: 0 12px;
  border: 1px solid #e7eef3;
  border-radius: 10px;
  background: #fff;
  color: #2a3f54;
  box-shadow: none;
}

body.nav-md:not(:has(.left_col)) .right_col .dataTables_length select:focus,
body.nav-md:not(:has(.left_col)) .right_col .dataTables_filter input:focus {
  border-color: #169f85;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 159, 133, 0.16);
}

body.nav-md:not(:has(.left_col)) .right_col table.datatable,
body.nav-md:not(:has(.left_col)) .right_col table.dataTable {
  border: 0 !important;
}

body.nav-md:not(:has(.left_col)) .right_col table.datatable th,
body.nav-md:not(:has(.left_col)) .right_col table.datatable td,
body.nav-md:not(:has(.left_col)) .right_col table.dataTable th,
body.nav-md:not(:has(.left_col)) .right_col table.dataTable td {
  box-sizing: border-box;
}

body.nav-md:not(:has(.left_col)) .right_col table.datatable thead th,
body.nav-md:not(:has(.left_col)) .right_col table.dataTable thead th {
  padding: 12px 14px;
  border-color: #e7eef3 !important;
  background: #f7fafc;
  color: #5e7384;
  font-weight: 700;
  vertical-align: middle;
}

body.nav-md:not(:has(.left_col)) .right_col table.datatable tbody td,
body.nav-md:not(:has(.left_col)) .right_col table.dataTable tbody td {
  padding: 12px 14px;
  border-color: #f0f4f8 !important;
  color: #2a3f54;
  vertical-align: middle;
  background: #fff;
}

body.nav-md:not(:has(.left_col)) .right_col table.datatable tbody tr:hover td,
body.nav-md:not(:has(.left_col)) .right_col table.dataTable tbody tr:hover td {
  background: #f3fbf9 !important;
}

body.nav-md:not(:has(.left_col)) .right_col .pagination>li>a,
body.nav-md:not(:has(.left_col)) .right_col .pagination>li>span {
  margin: 0 2px;
  border: 0;
  border-radius: 10px;
  color: #2a3f54;
}

body.nav-md:not(:has(.left_col)) .right_col .pagination>.active>a,
body.nav-md:not(:has(.left_col)) .right_col .pagination>.active>a:hover,
body.nav-md:not(:has(.left_col)) .right_col .pagination>.active>span {
  border: 0;
  background: #169f85;
  color: #fff;
}

body.nav-md:not(:has(.left_col)) .room-list-card {
  padding: 22px 22px 16px;
}

body.nav-md:not(:has(.left_col)) .room-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

body.nav-md:not(:has(.left_col)) .room-list-head h3 {
  margin: 0;
  color: #2a3f54;
  font-size: 1.25rem;
  font-weight: 700;
}

body.nav-md:not(:has(.left_col)) .room-list-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.nav-md:not(:has(.left_col)) .room-list-legend .h6 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f7fafc;
  color: #5e7384;
  font-size: 13px;
  font-weight: 600;
}

body.nav-md:not(:has(.left_col)) .room-list-card .card-box {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.nav-md:not(:has(.left_col)) .room-list-card .badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
}

body.nav-md:not(:has(.left_col)) .room-list-card td p {
  margin: 6px 0 0;
  color: #8aa0b2;
  font-size: 13px;
}

.room-page .room-stats {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
}

.room-page .room-stat {
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #e7eef3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 63, 84, 0.06);
}

.room-page .room-stat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5e7384;
  font-size: 14px;
  font-weight: 600;
}

.room-page .room-stat-open .fa-check {
  color: #169f85;
}

.room-page .room-stat-maintain .fa-wrench {
  color: #e0a24a;
}

.room-page .room-stat-value {
  margin-top: 8px;
  color: #243646;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .room-page .room-stats {
    flex-direction: column;
  }
}

.room-check-modal .modal-body {
  padding: 16px 18px 18px;
  background: #f7fafc;
}

.room-check-modal .x_content {
  margin: 0;
  padding: 14px;
  border: 1px solid #e7eef3;
  border-radius: 16px;
  background: #fff;
}

.room-check-modal .fc {
  --fc-border-color: #d7e2ea;
  --fc-today-bg-color: #fff;
  --fc-neutral-bg-color: #f8fafb;
  --fc-page-bg-color: #fff;
  --fc-now-indicator-color: #ef5b4c;
  color: #243646;
}

.room-check-modal .fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 14px;
  align-items: center;
  gap: 8px;
}

.room-check-modal .fc .fc-toolbar-title {
  color: #2a3f54;
  font-size: 1.15rem;
  font-weight: 700;
}

.room-check-modal .fc .fc-scrollgrid {
  border-radius: 12px;
  overflow: hidden;
}

.room-check-modal .fc .fc-col-header-cell-cushion {
  padding: 8px 4px;
  color: #5e7384;
  font-weight: 700;
}

.room-check-modal .fc .fc-daygrid-day-number,
.room-check-modal .fc .fc-timegrid-slot-label-cushion {
  color: #243646;
  font-weight: 600;
}

.room-check-modal .fc .fc-day-other {
  background: #f8fafb;
}

.room-check-modal .fc .fc-day-other .fc-daygrid-day-top {
  opacity: 1;
}

.room-check-modal .fc .fc-day-other .fc-daygrid-day-number {
  color: #8aa0b2;
}

.room-check-modal .fc .fc-day-today .fc-daygrid-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 4px;
  border-radius: 999px;
  background: #169f85;
  color: #fff;
}

.room-check-modal .fc .fc-daygrid-dot-event {
  align-items: center;
  margin-top: 2px;
  padding: 3px 6px;
  border-radius: 8px;
  background: #f4f7fa;
}

.room-check-modal .fc .fc-daygrid-event-dot {
  margin: 0 6px 0 0;
  border-width: 5px;
}

.room-check-modal .fc .fc-daygrid-event,
.room-check-modal .fc .fc-timegrid-event,
.room-check-modal .fc .fc-h-event {
  border: 0 !important;
  border-radius: 8px;
  box-shadow: none;
}

.room-check-modal .fc .fc-event-title,
.room-check-modal .fc .fc-event-time {
  padding: 0;
  color: #243646;
  font-weight: 700;
}

.room-check-modal .fc .fc-daygrid-more-link {
  color: #0f9f86;
  font-weight: 700;
}

.room-check-modal .fc .fc-more-popover {
  border: 1px solid #e7eef3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(42, 63, 84, 0.16);
}

.room-check-modal .fc .fc-more-popover .fc-popover-header {
  background: #f7fafc;
  color: #2a3f54;
}

.room-check-modal .fc .fc-list {
  border-radius: 12px;
  overflow: hidden;
}

.room-check-modal .fc .fc-list-day-cushion {
  background: #f7fafc;
  color: #2a3f54;
  font-weight: 700;
}

.room-check-modal .fc .fc-list-event:hover td {
  background: #f3fbf9;
}

.reserve-page .reserve-stats {
  display: flex;
  gap: 14px;
  margin: 0 0 14px;
}

.reserve-page .reserve-stat {
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #e7eef3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 63, 84, 0.06);
}

.reserve-page .reserve-stat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5e7384;
  font-size: 14px;
  font-weight: 600;
}

.reserve-page .reserve-stat-label .fa-check {
  color: #169f85;
}

.reserve-page .reserve-stat-cancel .fa-times {
  color: #e06a5f;
}

.reserve-page .reserve-stat-value {
  margin-top: 8px;
  color: #243646;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.reserve-page .reserve-list-card {
  padding: 22px 22px 16px;
}

.reserve-page .reserve-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.reserve-page .reserve-list-head h3 {
  margin: 0;
  color: #243646;
  font-size: 1.25rem;
  font-weight: 700;
}

.reserve-page .reserve-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reserve-page .reserve-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f7fa;
  color: #5e7384;
  font-weight: 600;
  text-decoration: none;
}

.reserve-page .reserve-filter:hover,
.reserve-page .reserve-filter:focus {
  background: #e7f8f4;
  color: #0f9f86;
  text-decoration: none;
}

.reserve-page .reserve-filter.is-active {
  background: #169f85;
  color: #fff;
}

.reserve-page .reserve-list-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.reserve-page .reserve-list-legend .h6 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f7fafc;
  color: #5e7384;
  font-size: 13px;
  font-weight: 600;
}

.reserve-page .reserve-query {
  margin-bottom: 14px;
  padding: 22px;
}

.reserve-page .reserve-query h3 {
  margin: 0 0 14px;
  color: #243646;
  font-size: 1.25rem;
  font-weight: 700;
}

.reserve-page .reserve-query-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reserve-page .reserve-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.reserve-page .reserve-toolbar-actions {
  display: flex;
  justify-content: flex-end;
  grid-column: 1 / -1;
  gap: 8px;
}

.reserve-page .reserve-field label {
  margin: 0;
  color: #5e7384;
  font-size: 13px;
  font-weight: 600;
}

.reserve-page .reserve-input {
  position: relative;
}

.reserve-page .reserve-query .form-control {
  height: 44px !important;
  border: 1px solid #d7e2ea !important;
  border-radius: 12px !important;
  background-color: #fff;
  color: #243646;
  font-weight: 600;
  box-shadow: none;
}

.reserve-page .reserve-query input.form-control {
  padding-right: 40px;
  cursor: pointer;
}

.reserve-page .reserve-query .form-control:focus {
  border-color: #169f85 !important;
  box-shadow: 0 0 0 3px rgba(22, 159, 133, 0.15);
  outline: none;
}

.reserve-page .reserve-input .fa-calendar {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #8aa0b2;
  transform: translateY(-50%);
  pointer-events: none;
}

.reserve-page .reserve-query select.form-control {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235e7384' d='M1.4.8 6 5.4 10.6.8 12 2.2 6 8 0 2.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.reserve-page .reserve-query .btn {
  height: 44px;
}

.reserve-page .reserve-filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #5e7384;
  font-weight: 600;
}

.reserve-page .reserve-filter-clear:hover,
.reserve-page .reserve-filter-clear:focus {
  background: #eef3f7;
  color: #243646;
}

.reserve-page .card-box {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.reserve-page .badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 600;
}

.reserve-page td p {
  margin: 6px 0 0;
  color: #8aa0b2;
  font-size: 13px;
}

.reserve-page .btn-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  background: #fff1f0;
  color: #d64545;
  font-weight: 600;
}

.reserve-page .btn-warning:hover,
.reserve-page .btn-warning:focus {
  background: #ffe4e1;
  color: #c43232;
}

@media (max-width: 767.98px) {
  .reserve-page .reserve-stats {
    flex-direction: column;
  }

  .reserve-page .reserve-list-actions,
  .reserve-page .reserve-filter {
    width: 100%;
  }

  .reserve-page .reserve-filter {
    justify-content: center;
  }

  .reserve-page .reserve-query-fields {
    grid-template-columns: 1fr;
  }

  .reserve-page .reserve-toolbar-actions,
  .reserve-page .reserve-query .btn {
    width: 100%;
  }

  .reserve-page .reserve-toolbar-actions {
    flex-direction: column;
  }
}