/* Shared hotel workspace theme: warm gold with dark and light surfaces. */
:root, [data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #111111;
  --bs-body-bg-rgb: 17, 17, 17;
  --bs-body-color: #eeeae2;
  --bs-body-color-rgb: 238, 234, 226;
  --bs-secondary-color: #b4aa9c;
  --bs-secondary-color-rgb: 180, 170, 156;
  --bs-tertiary-bg: #191817;
  --bs-border-color: #3b3832;
  --bs-border-color-translucent: rgba(214, 181, 121, .14);
  --bs-primary: #d6b579;
  --bs-primary-rgb: 214, 181, 121;
  --bs-link-color: #d6b579;
  --bs-link-color-rgb: 214, 181, 121;
  --bs-link-hover-color: #f0d7aa;
  --bs-link-hover-color-rgb: 240, 215, 170;
  --bs-emphasis-color: #f4f0e8;
  --bs-emphasis-color-rgb: 244, 240, 232;
  --bs-border-radius: .35rem;
  --bs-font-sans-serif: "Segoe UI", Arial, sans-serif;
}
body { min-height: 100vh; -webkit-font-smoothing: antialiased; font-size: .94rem; line-height: 1.65; }
::selection { background: #d6b579; color: #111111; }
a { text-underline-offset: .2em; }
.container { max-width: 1240px; }
h1, h2, .h3, .h5 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; color: #f3efe6; }
h1.h3 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.18; }
h2.h5, .h5 { font-size: 1.35rem; }
.h6 { letter-spacing: .015em; }
.navbar { --bs-navbar-color: #c3b9aa; --bs-navbar-hover-color: #f3dfba; --bs-navbar-active-color: #e4c792;
  position: sticky; top: 0; z-index: 1020; background: #141413 !important; min-height: 88px;
  border-bottom-color: #38342d !important; padding-block: .9rem; }
.navbar .container { gap: 1.5rem; }
.hms-brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: 1.2rem; color: #f3efe6; text-decoration: none; }
.hms-brand img { width: 38px; height: 42px; }
.hms-brand-name { font-size: 1.25rem; font-weight: 500; letter-spacing: .23em; line-height: 1.2; }
.hms-brand-subtitle { display: block; font-size: .56rem; letter-spacing: .19em; text-transform: uppercase; color: #aaa295; margin-top: .35rem; }
.navbar-nav { gap: .25rem; }
.navbar .nav-link { font-size: .82rem; padding-block: .6rem; position: relative; }
.navbar .nav-link.active::after { content: ""; position: absolute; bottom: 0; left: .5rem; right: .5rem; height: 1px; background: #d6b579; }
.navbar-text { font-size: .78rem; }
.navbar-text .badge { margin-left: .35rem; }
.navbar-toggler { border-color: #585044; padding: .45rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(214,181,121,.25); }
main.container { padding-top: 2.6rem !important; padding-bottom: 3rem !important; min-height: calc(100vh - 170px); }
.hms-workspace-label { font-size: .62rem; font-weight: 600; letter-spacing: .22em; color: #c4a975; margin-bottom: 1.4rem; }
.hms-workspace-label::before { content: ""; display: inline-block; width: 22px; height: 1px; background: #c4a975; margin-right: .65rem; vertical-align: middle; }
.hms-footer { border-top: 1px solid #322e29; padding: 1rem 0; color: #938b80; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.hms-footer .container { display: flex; justify-content: space-between; gap: 1rem; }
.btn { font-size: .82rem; font-weight: 500; padding: .58rem 1rem; border-radius: .25rem; }
.btn-sm { font-size: .73rem; padding: .3rem .7rem; }
.btn-primary { --bs-btn-color: #18180f; --bs-btn-bg: #d6b579; --bs-btn-border-color: #d6b579;
  --bs-btn-hover-color: #111111; --bs-btn-hover-bg: #e7c995; --bs-btn-hover-border-color: #e7c995;
  --bs-btn-active-color: #111111; --bs-btn-active-bg: #c4a066; --bs-btn-active-border-color: #c4a066;
  --bs-btn-focus-shadow-rgb: 214,181,121; }
.btn-outline-primary { --bs-btn-color: #ddc18c; --bs-btn-border-color: #8c784e; --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: #d6b579; --bs-btn-hover-border-color: #d6b579; --bs-btn-active-color: #111111;
  --bs-btn-active-bg: #d6b579; --bs-btn-active-border-color: #d6b579; --bs-btn-focus-shadow-rgb: 214,181,121; }
.btn-outline-secondary { --bs-btn-color: #cfc5b7; --bs-btn-border-color: #49423a; --bs-btn-hover-color: #f5efdf;
  --bs-btn-hover-bg: #2c2722; --bs-btn-hover-border-color: #81715d; --bs-btn-focus-shadow-rgb: 214,181,121; }
.btn-outline-danger { --bs-btn-color: #e6a69d; --bs-btn-border-color: #704b44; }
.btn-link { color: #ddc18c !important; }
.form-label, .hms-form label { font-size: .78rem; font-weight: 500; color: #d3d2c7; margin-bottom: .45rem; }
.form-control, .form-select, .hms-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .hms-form select, .hms-form textarea {
  background-color: #201e1b; border-color: #494139; color: #f0eee4; border-radius: .25rem; padding: .6rem .75rem; font-size: .87rem; min-height: 42px; }
.form-control::placeholder, .hms-form input::placeholder { color: #958c80; }
.form-control:focus, .form-select:focus, .hms-form :is(input,select,textarea):focus {
  background-color: #201e1b; border-color: #c5a66e; color: #f0eee4; box-shadow: 0 0 0 .2rem rgba(214,181,121,.12); }
.form-control:disabled, .hms-form :is(input,select):disabled { background-color: #1c1a17; border-color: #39332b; color: #a49a8c; opacity: 1; }
.helptext, .form-text { color: #aca294; font-size: .76rem !important; }
.hms-form .errorlist { color: #f0a59c; }
.hms-form [aria-invalid="true"] { border-color: #d18b80; }
/* Tables scroll sideways when too wide, never up and down inside the page (a 1px rounding overflow made a second scrollbar). */
.table-responsive { border: 1px solid #3b352e; border-radius: .35rem; background: #1b1a18; overflow-y: hidden; }
.table { --bs-table-bg: #1b1a18; --bs-table-color: #ded8ce; --bs-table-border-color: #35312b;
  --bs-table-hover-bg: #2b2720; --bs-table-hover-color: #f2eee3; margin-bottom: 0; font-size: .85rem; }
.table > :not(caption) > * > * { padding: 1rem 1.1rem; }
.table thead th { font-size: .65rem; text-transform: uppercase; letter-spacing: .095em; font-weight: 500; color: #b8ad9c; vertical-align: middle; background: #22201c; }
.table thead .btn-link { font-size: inherit; text-transform: inherit; letter-spacing: inherit; }
.table tbody th { color: #f0eee4; font-weight: 500; }
.table tfoot { --bs-table-bg: #2b251c; }
.table a { text-decoration: none; }
.table a:hover { text-decoration: underline; }
.list-group { --bs-list-group-bg: #1b1a18; --bs-list-group-color: #ded8ce; --bs-list-group-border-color: #3b352e; --bs-list-group-border-radius: .35rem; }
.list-group-item { padding: 1.05rem 1.2rem; }
.list-group-item a { text-decoration: none; }
.list-group-item .small { font-size: .74rem; }
.badge { font-size: .65rem; font-weight: 500; letter-spacing: .02em; padding: .4em .6em; border-radius: .25rem; }
.text-bg-secondary { background: #363026 !important; color: #cfc5b4 !important; }
.text-bg-success { background: #273d30 !important; color: #b5d6b8 !important; }
.text-bg-primary { background: #293b44 !important; color: #b1ccd8 !important; }
.text-bg-warning { background: #493c22 !important; color: #e8ce91 !important; }
.text-bg-info { background: #313e3a !important; color: #c4d3ca !important; }
.text-bg-danger { background: #4a2c28 !important; color: #f0b2a8 !important; }
.border { border-color: #40392f !important; }
p.text-body-secondary.border { background: #1b1a18; }
.hms-room-name { display: inline-flex; align-items: center; gap: .75rem; }
.hms-room-icon { width: 32px; height: 32px; padding: 4px; box-sizing: content-box; background: #2b261d; border: 1px solid #51432e; border-radius: .3rem; flex: 0 0 auto; }
.hms-room-title { display: inline-flex; align-items: center; gap: .7rem; }
.hms-room-card { padding: 1.3rem; }
.hms-room-card .h6 { font-family: Georgia,serif; font-size: 1.25rem; }
.hms-dashboard-header { border-bottom: 1px solid #494034; padding-bottom: 1.8rem; margin-bottom: 2rem !important; }
.hms-dashboard-header h1 { max-width: 740px; }
.hms-dashboard-movements > section { border-left: 1px solid #655236; padding-inline: 1.35rem; }
.hms-dashboard-movements .list-group-item { background: #1b1a18; }
.hms-dashboard-movements h2 { display: flex; align-items: center; gap: .6rem; }
.hms-dashboard-movements h2::before { content: ""; width: 24px; height: 24px; background: url('../icons/room.svg') center / contain no-repeat; }
.hms-chart-panel { padding: 1.6rem; background: #1b1a18; border: 1px solid #433b31; border-radius: .35rem; }
.hms-readiness { padding: 1.2rem 0; border-top: 1px solid #40382d; }
.hms-auth main.container { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 70px); max-width: 100%; padding-top: 3rem !important; }
.hms-auth main > .row { margin: 0; }
.hms-auth main > .row > div { background: #1b1a18; padding: clamp(1.5rem,4vw,3rem); border: 1px solid #51432f; border-top: 2px solid #c5a66e; border-radius: .35rem; }
.hms-auth .hms-workspace-label { text-align: center; }
@media(min-width: 992px) { .hms-auth main > .row > div { max-width: 470px; } }
/* Flash messages stay compact (as wide as the login card) and centre on the login pages. */
.hms-message { --bs-alert-padding-y: .6rem; max-width: 470px; font-size: .95rem; }
.hms-message .btn-close { padding: calc(.6rem + .25em) 1rem; }
.hms-auth .hms-message { width: 100%; margin-inline: auto; }
@media(max-width: 1199px) and (min-width: 992px) { .navbar .container { gap: .5rem; } .hms-brand { margin-right: .25rem; } .navbar .nav-link { font-size: .75rem; } .navbar-text { font-size: .68rem; } }
@media(max-width: 991px) { .navbar { min-height: 76px; } .navbar-collapse { border-top: 1px solid #3b352e; padding-block: .8rem; } .navbar-nav { margin-bottom: 1rem; } .navbar .nav-link.active::after { left: 0; right: auto; width: 30px; } }
@media(max-width: 575px) { main.container { padding-top: 1.8rem !important; } .hms-workspace-label { margin-bottom: 1.2rem; } .hms-dashboard-movements > section { margin-top: 1.4rem; } .hms-chart-panel { padding: 1rem; } .hms-footer { font-size: .58rem; } .table > :not(caption) > * > * { padding: .8rem; } .hms-brand-name { font-size: 1.1rem; } }
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* A larger, more readable navigation and one clean font family throughout. */
:root { --bs-font-sans-serif: "Trebuchet MS", "Segoe UI", Arial, sans-serif; }
h1, h2, .h3, .h5, .hms-room-card .h6 { font-family: var(--bs-font-sans-serif); font-weight: 600; letter-spacing: -.025em; }
h1.h3 { font-size: clamp(2rem, 3vw, 2.5rem); }
.navbar { min-height: 112px; padding-block: 1.2rem; }
.navbar .container { max-width: 1500px; padding-inline: 1.75rem; gap: 1.1rem; }
.hms-brand { order: 1; margin-right: .5rem; gap: .8rem; }
.hms-brand img { width: 46px; height: 50px; }
.hms-brand-name { font-size: 1.5rem; font-weight: 600; }
.hms-brand-subtitle { font-size: .65rem; letter-spacing: .14em; }
.navbar .navbar-collapse { order: 2; }
.hms-nav-controls { order: 3; }
.navbar-nav { gap: .1rem; }
.navbar .nav-link { font-size: 1rem; font-weight: 500; white-space: nowrap; padding: .8rem .65rem; }
.navbar-text { font-size: .9rem; max-width: 180px; line-height: 1.4; }
.navbar .btn-sm { font-size: .8rem; padding: .5rem .75rem; }
.hms-theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 44px; height: 44px; padding: 0; border: 1px solid #625139; border-radius: .35rem;
  background: transparent; color: #d6b579; cursor: pointer; }
.hms-theme-toggle:hover { background: #2b261d; border-color: #d6b579; }
.hms-theme-toggle:focus-visible { outline: 3px solid #d6b579; outline-offset: 3px; }
.hms-icon-moon { display: none; }
[data-bs-theme="light"] .hms-icon-moon { display: block; }
[data-bs-theme="light"] .hms-icon-sun { display: none; }
.hms-auth-controls { position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2; }
@media(max-width: 1199px) {
  .navbar { min-height: 96px; }
  .navbar .container { padding-inline: 1.25rem; }
  .navbar .navbar-collapse { order: 3; }
  .hms-nav-controls { order: 2; margin-left: auto; }
  .navbar-collapse { border-top: 1px solid var(--bs-border-color); padding-block: 1rem; }
  .navbar-nav { margin-bottom: 1rem; }
  .navbar .nav-link { font-size: 1.05rem; padding: .65rem 0; }
  .navbar .nav-link.active::after { left: 0; right: auto; width: 34px; }
}
@media(max-width: 575px) {
  .navbar .container { padding-inline: 1rem; gap: .5rem; }
  .hms-brand { gap: .6rem; margin-right: 0; }
  .hms-brand img { width: 38px; height: 44px; }
  .hms-brand-name { font-size: 1.35rem; }
  .hms-brand-subtitle { font-size: .56rem; }
}

/* White surfaces retain the same gold accent, with a deeper gold for readable text. */
[data-bs-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #fafafa; --bs-body-bg-rgb: 250,250,250;
  --bs-body-color: #302c26; --bs-body-color-rgb: 48,44,38;
  --bs-secondary-color: #706658; --bs-secondary-color-rgb: 112,102,88;
  --bs-tertiary-bg: #f6f4f0;
  --bs-border-color: #dfd9cf; --bs-border-color-translucent: rgba(110,86,48,.16);
  --bs-link-color: #805b20; --bs-link-color-rgb: 128,91,32;
  --bs-link-hover-color: #5c3c10; --bs-link-hover-color-rgb: 92,60,16;
  --bs-emphasis-color: #26221c; --bs-emphasis-color-rgb: 38,34,28;
}
[data-bs-theme="light"] :is(h1,h2,.h3,.h5) { color: #26221c; }
[data-bs-theme="light"] .navbar { --bs-navbar-color: #514a3f; --bs-navbar-hover-color: #805b20; --bs-navbar-active-color: #805b20;
  background: #fff !important; border-bottom-color: #e3d8c6 !important; }
[data-bs-theme="light"] .hms-brand { color: #30291e; }
[data-bs-theme="light"] .hms-brand-subtitle { color: #746445; }
[data-bs-theme="light"] .navbar-toggler { border-color: #c9b995; }
[data-bs-theme="light"] .hms-workspace-label { color: #805b20; }
[data-bs-theme="light"] .hms-footer { color: #756a59; border-top-color: #dfd9cf; }
[data-bs-theme="light"] .hms-theme-toggle { color: #805b20; border-color: #c6ac7a; background: #fff; }
[data-bs-theme="light"] .hms-theme-toggle:hover { background: #f4ead8; }
[data-bs-theme="light"] .btn-outline-primary { --bs-btn-color: #805b20; --bs-btn-border-color: #b89a63; }
[data-bs-theme="light"] .btn-outline-secondary { --bs-btn-color: #5e5547; --bs-btn-border-color: #cfc5b7;
  --bs-btn-hover-color: #30291e; --bs-btn-hover-bg: #f2ede4; --bs-btn-hover-border-color: #b7a282; }
[data-bs-theme="light"] .btn-outline-danger { --bs-btn-color: #ad4135; --bs-btn-border-color: #d6a49c; }
[data-bs-theme="light"] .btn-link { color: #805b20 !important; }
[data-bs-theme="light"] :is(.form-label,.hms-form label) { color: #4e4435; }
[data-bs-theme="light"] .form-control, [data-bs-theme="light"] .form-select,
[data-bs-theme="light"] .hms-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
[data-bs-theme="light"] .hms-form select, [data-bs-theme="light"] .hms-form textarea {
  color: #302c26; background-color: #fff; border-color: #c9bdab; }
[data-bs-theme="light"] .form-control::placeholder, [data-bs-theme="light"] .hms-form input::placeholder { color: #7e7467; }
[data-bs-theme="light"] .form-control:focus, [data-bs-theme="light"] .form-select:focus,
[data-bs-theme="light"] .hms-form :is(input,select,textarea):focus { color: #302c26; background-color: #fff; border-color: #a68243; }
[data-bs-theme="light"] .form-control:disabled, [data-bs-theme="light"] .hms-form :is(input,select):disabled { color: #756e63; background-color: #f1efea; border-color: #ded7cc; }
[data-bs-theme="light"] :is(.helptext,.form-text) { color: #766c5d; }
[data-bs-theme="light"] .hms-form .errorlist { color: #ad3528; }
[data-bs-theme="light"] .table-responsive { background: #fff; border-color: #dfd9cf; }
[data-bs-theme="light"] .table { --bs-table-bg: #fff; --bs-table-color: #3c352b; --bs-table-border-color: #e6e0d6;
  --bs-table-hover-bg: #f7f2e9; --bs-table-hover-color: #30291e; }
[data-bs-theme="light"] .table thead th { background: #f5f2ed; color: #6d5d45; }
[data-bs-theme="light"] .table tbody th { color: #30291e; }
[data-bs-theme="light"] .table tfoot { --bs-table-bg: #f6efdf; }
[data-bs-theme="light"] .list-group { --bs-list-group-bg: #fff; --bs-list-group-color: #3c352b; --bs-list-group-border-color: #dfd9cf; }
[data-bs-theme="light"] .text-bg-secondary { background: #ece5d8 !important; color: #625038 !important; }
[data-bs-theme="light"] .text-bg-success { background: #e5f1e8 !important; color: #315d3e !important; }
[data-bs-theme="light"] .text-bg-primary { background: #e4edf4 !important; color: #325a77 !important; }
[data-bs-theme="light"] .text-bg-warning { background: #f6ecd1 !important; color: #765417 !important; }
[data-bs-theme="light"] .text-bg-info { background: #e3eeea !important; color: #375e50 !important; }
[data-bs-theme="light"] .text-bg-danger { background: #f5e3df !important; color: #923e31 !important; }
[data-bs-theme="light"] .border { border-color: #dfd9cf !important; }
[data-bs-theme="light"] p.text-body-secondary.border { background: #fff; }
[data-bs-theme="light"] .hms-room-icon { background: #f8f2e6; border-color: #e1d0ad; }
[data-bs-theme="light"] .hms-dashboard-header { border-bottom-color: #dfd9cf; }
[data-bs-theme="light"] .hms-dashboard-movements > section { border-left-color: #d2ba8e; }
[data-bs-theme="light"] .hms-dashboard-movements .list-group-item { background: #fff; }
[data-bs-theme="light"] .hms-chart-panel { background: #fff; border-color: #dfd9cf; }
[data-bs-theme="light"] .hms-readiness { border-top-color: #dfd9cf; }
[data-bs-theme="light"] .hms-auth main > .row > div { background: #fff; border-color: #dfd9cf; border-top-color: #c5a66e; }

/* Layout fixes shared by both themes. The footer sits at the bottom of short pages. */
body { display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
body > .visually-hidden-focusable { align-self: flex-start; }
.form-select { padding-right: 2.25rem; }
.hms-form select:not([multiple]) { appearance: none; padding-right: 2.25rem; background-repeat: no-repeat;
  background-position: right .75rem center; background-size: 16px 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
[data-bs-theme="light"] .hms-form select:not([multiple]) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
/* The dashboard columns are divided by a rule between them, never at the page edge. */
.hms-dashboard-movements > section:first-child { border-left: 0; padding-left: calc(var(--bs-gutter-x) * .5); }
@media(max-width: 991.98px) { .hms-dashboard-movements > section { border-left: 0; padding-inline: calc(var(--bs-gutter-x) * .5); } }
@media(max-width: 575.98px) {
  .hms-auth main.container { padding-top: 5.5rem !important; }  /* clears the theme button on long forms */
  .table > :not(caption) > * > * { padding: .7rem .5rem; }
  .table thead th { letter-spacing: .04em; }
}
[data-bs-theme="light"] .form-check-input:checked { background-color: #805b20; border-color: #805b20; }
[data-bs-theme="light"] .form-check-input:focus { border-color: #a68243; box-shadow: 0 0 0 .2rem rgba(166,130,67,.25); }
[data-bs-theme="light"] .btn-close { --bs-btn-close-focus-shadow: 0 0 0 .2rem rgba(166,130,67,.35); }
[data-bs-theme="dark"] .form-check-input:checked { background-color: #d6b579; border-color: #d6b579; }
[data-bs-theme="dark"] .form-check-input:checked[type="radio"] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23111111'/%3e%3c/svg%3e"); }
[data-bs-theme="dark"] .form-check-input:focus { border-color: #c5a66e; box-shadow: 0 0 0 .2rem rgba(214,181,121,.25); }
[data-bs-theme="dark"] .btn-close { --bs-btn-close-focus-shadow: 0 0 0 .2rem rgba(214,181,121,.4); }
