* {
  box-sizing: border-box;
}
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #33434a;
  background: #f3f4f5;
  font-size: 14px;
  --green: #37a000;
  --dark: #1c2428;
  --line: #e6e9eb;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
.button {
  border: 1px solid #dce1e4;
  border-radius: 3px;
  background: #fff;
  padding: 10px 15px;
  color: #425057;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
button:hover,
.button:hover {
  background: #f0f4f1;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.primary:hover {
  background: #2e8700;
}
.danger {
  color: #ce3b3b;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand em {
  color: #49b316;
  font-style: normal;
  font-weight: 500;
}
.brand svg {
  width: 39px;
  height: 43px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  background: var(--dark);
  color: #aeb6ba;
  overflow-y: auto;
  z-index: 30;
}
.brand-wrap {
  padding: 19px 24px;
}
.profile {
  padding: 22px 27px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e4e9eb;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #354047;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: white;
}
.profile small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #93b883;
}
.nav {
  padding: 0 14px 24px;
}
.nav a,
.nav summary {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 11px;
  min-height: 42px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  list-style: none;
}
.nav summary::-webkit-details-marker {
  display: none;
}
.nav summary:after {
  content: "‹";
  margin-left: auto;
}
.nav details[open] summary:after {
  transform: rotate(-90deg);
}
.nav details a {
  padding-left: 43px;
  font-size: 13px;
}
.nav a:hover,
.nav summary:hover {
  color: white;
  background: #293338;
}
.nav a.active {
  background: var(--green);
  box-shadow: 0 0 12px #37a00035;
  color: white;
}
.nav .addon {
  font-size: 10px;
  background: #d44353;
  color: white;
  padding: 2px 4px;
  margin-left: auto;
  border-radius: 2px;
}
.main {
  margin-left: 246px;
  min-height: 100vh;
}
.topbar {
  height: 66px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-left,
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.menu-toggle {
  border: 0;
  color: var(--green);
  padding: 8px;
}
.hotel-select {
  max-width: 200px;
  border: 0;
  background: white;
  font-weight: 600;
  color: #46534a;
}
.top-actions .button {
  padding: 10px 13px;
  color: white;
  border: 0;
  box-shadow: 0 2px 5px #0001;
}
.cyan {
  background: #16a2b8;
}
.charcoal {
  background: #354049;
}
.red {
  background: #d7303d;
}
.clock {
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  letter-spacing: 2px;
  margin-left: 10px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 3px;
}
.content {
  padding: 28px 25px 40px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 16px;
}
.page-head h1 {
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 7px;
}
.muted {
  color: #899397;
}
.breadcrumb {
  font-size: 12px;
  color: #899397;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 27px 0 24px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px #00000008;
  min-height: 130px;
  padding: 0 16px 17px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #f0f1f2;
  padding-bottom: 20px;
}
.stat-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin-top: -15px;
  border-radius: 2px;
  background: #fb910c;
  color: white;
  box-shadow: 0 3px 5px #0001;
}
.stat-icon svg {
  width: 31px;
  height: 31px;
}
.stat:nth-child(2) .stat-icon {
  background: #369664;
}
.stat:nth-child(3) .stat-icon {
  background: #db3436;
}
.stat:nth-child(4) .stat-icon {
  background: #1bb9cd;
}
.stat-value {
  text-align: right;
  padding-top: 12px;
}
.stat-value label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #92999d;
  font-weight: 700;
}
.stat-value strong {
  font-size: 23px;
  color: #28353b;
  display: block;
  margin-top: 6px;
}
.stat-foot {
  font-size: 12px;
  color: #99a2a5;
  padding-top: 13px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px #00000006;
  border-radius: 3px;
  margin-bottom: 23px;
}
.panel-head {
  padding: 19px 22px;
  border-bottom: 1px solid #edf0f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.panel-body {
  padding: 22px;
}
.chart-panel {
  padding: 22px 28px;
}
.chart-title {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  margin: 5px 0 23px;
}
.chart {
  width: 100%;
  height: 265px;
  display: block;
}
.chart text {
  fill: #8c969b;
  font: 11px Arial;
}
.chart line {
  stroke: #e8ebee;
  stroke-width: 1;
}
.legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  margin: 8px 0;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8f3992;
  margin-right: 6px;
}
.legend span:nth-child(2):before {
  background: #f39b14;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 23px;
}
.grid-even {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.donut-wrap {
  display: flex;
  justify-content: center;
  padding: 20px;
  gap: 30px;
  align-items: center;
}
.donut {
  width: 155px;
  height: 155px;
  transform: rotate(-90deg);
}
.donut circle {
  fill: none;
  stroke-width: 21;
}
.donut-legend {
  font-size: 13px;
  line-height: 2.1;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 7px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search {
  min-width: 240px;
}
.field,
input,
select,
textarea {
  border: 1px solid #dce1e4;
  border-radius: 3px;
  padding: 10px 11px;
  background: #fff;
  color: #34434a;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #65ad47;
  box-shadow: 0 0 0 2px #37a00015;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  padding: 14px 17px;
  background: #fafbfc;
  color: #6f7b80;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  white-space: nowrap;
}
td {
  padding: 14px 17px;
  border-bottom: 1px solid #edf0f2;
  max-width: 260px;
  overflow-wrap: anywhere;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcf9;
}
.table-wrap {
  overflow: auto;
}
.badge {
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 11px;
  text-transform: capitalize;
  background: #eaf5e3;
  color: #378c28;
  white-space: nowrap;
}
.badge.cancelled,
.badge.rejected,
.badge.failed,
.badge.maintenance {
  background: #fdeaea;
  color: #c44747;
}
.badge.dirty,
.badge.pending,
.badge.assigned {
  background: #fff3dd;
  color: #b88024;
}
.badge.checked_in,
.badge.in_progress {
  background: #e4f4fb;
  color: #1d8bba;
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.row-actions button {
  padding: 6px 8px;
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 43px 20px;
  color: #859196;
}
.empty .icon {
  width: 37px;
  height: 37px;
  margin-bottom: 12px;
  color: #a6b9a1;
}
.empty h3 {
  font-size: 15px;
  color: #607066;
  font-weight: 500;
  margin: 0 0 8px;
}
.empty p {
  font-size: 13px;
  margin: 0 0 18px;
  line-height: 1.6;
}
.pager {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: #899397;
  font-size: 12px;
}
.pager div {
  display: flex;
  gap: 7px;
}
.notice {
  padding: 13px 17px;
  border-left: 3px solid #37a000;
  background: #eef6e9;
  line-height: 1.6;
  font-size: 13px;
  margin-bottom: 20px;
}
.error {
  color: #b83131;
  background: #fff1f1;
  border: 1px solid #f0c3c3;
  padding: 12px 15px;
  border-radius: 3px;
  line-height: 1.5;
}
.footer {
  font-size: 12px;
  color: #8d969b;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
}
.login-art {
  background: var(--dark);
  padding: 50px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
}
.login-art:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #3f5546;
  transform: rotate(45deg);
  right: -210px;
  bottom: -140px;
  box-shadow:
    0 0 0 75px #26332d,
    0 0 0 76px #3f5546,
    0 0 0 150px #202d26;
  opacity: 0.6;
}
.login-art h1 {
  font-size: 43px;
  line-height: 1.2;
  font-weight: 500;
  max-width: 400px;
}
.login-art p {
  color: #b0bcb5;
  font-size: 16px;
  line-height: 1.8;
  max-width: 350px;
}
.login-art small {
  color: #8ea292;
}
.login-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.login-form {
  max-width: 360px;
  width: 100%;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px;
}
.login-form > p {
  color: #8b969c;
  margin-bottom: 30px;
  line-height: 1.6;
}
.login-form label {
  display: block;
  font-size: 13px;
  margin: 18px 0 8px;
}
.login-form input {
  width: 100%;
  padding: 13px;
}
.login-form button {
  width: 100%;
  justify-content: center;
  margin-top: 23px;
  padding: 13px;
}
.login-form small {
  display: block;
  color: #8e989e;
  text-align: center;
  margin-top: 25px;
  line-height: 1.6;
}
dialog {
  border: 0;
  border-radius: 5px;
  box-shadow: 0 18px 80px #0004;
  padding: 0;
  width: min(740px, 94vw);
  max-height: 90vh;
  color: #3c4a51;
}
dialog::backdrop {
  background: #111b24a8;
}
dialog .panel-head {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
dialog h2 {
  font-size: 19px;
  margin: 0;
  font-weight: 500;
}
dialog .form-body {
  padding: 24px;
  max-height: 65vh;
  overflow: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 13px;
  color: #536068;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field small {
  font-size: 11px;
  color: #8d979c;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
}
.form-field textarea {
  min-height: 85px;
  resize: vertical;
}
.form-field .checkbox {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  min-height: 41px;
}
.checkbox input {
  width: 17px;
  height: 17px;
}
.modal-foot {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fbfcfc;
}
.array-list {
  display: grid;
  gap: 12px;
}
.array-row {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 3px;
  background: #fafbfc;
}
.array-row > button {
  margin-top: 10px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #839088;
  text-transform: uppercase;
}
.folio-stats {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f5f8f4;
}
.folio-stats > div {
  flex: 1;
}
.folio-stats strong {
  display: block;
  font-size: 22px;
  margin-top: 8px;
}
.loading {
  padding: 50px;
  text-align: center;
  color: #819083;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #27372a;
  color: white;
  padding: 15px 22px;
  border-radius: 4px;
  box-shadow: 0 4px 22px #0003;
  display: none;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 15px;
}
.room-card {
  border: 1px solid var(--line);
  border-top: 3px solid #37a000;
  padding: 17px;
  background: white;
  border-radius: 3px;
  text-align: left;
}
.room-card.dirty {
  border-top-color: #e6a13a;
}
.room-card.maintenance {
  border-top-color: #d45151;
}
.room-card strong {
  font-size: 25px;
  display: block;
  margin: 8px 0;
}
.room-card small {
  display: block;
  margin: 12px 0;
  color: #899397;
}
.pill-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.pill-tabs .active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
@media (max-width: 1100px) {
  .sidebar {
    width: 220px;
  }
  .main {
    margin-left: 220px;
  }
  .top-actions .button {
    padding: 9px;
    font-size: 12px;
  }
  .clock {
    display: none;
  }
  .stats {
    gap: 12px;
  }
  .stat-icon {
    width: 46px;
    height: 54px;
  }
  .stat-value strong {
    font-size: 20px;
  }
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: none;
    box-shadow: 5px 0 20px #0004;
  }
  .main {
    margin: 0;
  }
  .topbar {
    padding: 0 12px;
  }
  .top-actions .button:nth-child(-n + 2) {
    display: none;
  }
  .content {
    padding: 24px 15px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 29px;
  }
  .grid2,
  .grid-even {
    grid-template-columns: 1fr;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-box {
    min-height: 100vh;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .page-head h1 {
    font-size: 21px;
  }
  .search {
    min-width: 180px;
  }
  .toolbar-group {
    flex-wrap: wrap;
  }
  .clock {
    display: none;
  }
}
@media print {
  .sidebar,
  .topbar,
  .toolbar,
  .row-actions,
  .footer,
  button {
    display: none !important;
  }
  .main {
    margin: 0;
  }
  .content {
    padding: 0;
  }
  .panel {
    box-shadow: none;
  }
  dialog {
    position: static;
    width: 100%;
    max-height: none;
  }
  .form-body {
    max-height: none !important;
  }
}
