/* HMS additions on top of the NexLink theme (static/nexlink/css/styles.css).
   Keep this file small: reuse NexLink classes and Bootstrap tokens wherever possible. */

/* Sidebar rail: Flaticon glyphs sized like the template's inline SVGs */
.hms-rail-icon { font-size: 1.35rem; line-height: 1; display: inline-flex; color: var(--bs-heading-color); }
.app-menubar-tabs .menu-link.active .hms-rail-icon { color: var(--bs-primary); }
.app-menubar-tabs form .menu-link { width: 100%; }

/* KPI cards: equal heights inside a row, gentle lift on hover like the template cards */
.hms-kpi { transition: transform .15s ease, box-shadow .15s ease; }
.hms-kpi:hover { transform: translateY(-2px); }

/* Legend swatch (dashboard doughnut list) */
.hms-swatch { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; flex-shrink: 0; }
.min-w-0 { min-width: 0; }

/* List filters (reuse the DataTables search look from the template) */
.hms-filters .dt-search { position: relative; }
.hms-filters .dt-search i { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--bs-body-color); }
.hms-filters .dt-search input { padding-left: 2.1rem; min-width: 220px; }

/* Detail definition list */
.hms-dl dt, .hms-dl dd { padding: .45rem 0; border-bottom: 1px dashed var(--bs-border-color); margin: 0; }
.hms-dl dt:last-of-type, .hms-dl dd:last-of-type { border-bottom: 0; }

/* Activity timeline */
.hms-timeline li { position: relative; }
.hms-timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 30px; bottom: 4px; width: 1px; background: var(--bs-border-color);
}

/* Room status board */
.hms-room-tile {
  display: block; border-radius: .75rem; padding: .75rem; min-height: 92px; text-decoration: none;
  border: 1px solid var(--bs-border-color); background: var(--bs-body-bg); transition: transform .12s ease;
}
.hms-room-tile:hover { transform: translateY(-2px); }
.hms-room-tile .hms-room-no { font-size: 1.25rem; font-weight: 700; color: var(--bs-heading-color); }
.hms-room-tile[data-status="available"] { border-left: 4px solid var(--bs-success); }
.hms-room-tile[data-status="reserved"] { border-left: 4px solid var(--bs-info); }
.hms-room-tile[data-status="occupied"] { border-left: 4px solid var(--bs-primary); }
.hms-room-tile[data-status="cleaning"] { border-left: 4px solid var(--bs-warning); }
.hms-room-tile[data-status="maintenance"] { border-left: 4px solid var(--bs-warning); background: var(--bs-warning-bg-subtle); }
.hms-room-tile[data-status="out_of_service"] { border-left: 4px solid var(--bs-danger); background: var(--bs-danger-bg-subtle); }

/* Booking calendar grid */
.hms-cal { border-collapse: separate; border-spacing: 0; font-size: .8125rem; }
.hms-cal th, .hms-cal td { border-bottom: 1px solid var(--bs-border-color); border-right: 1px solid var(--bs-border-color); padding: .35rem .4rem; white-space: nowrap; }
.hms-cal thead th { position: sticky; top: 0; background: var(--bs-tertiary-bg); z-index: 2; text-align: center; }
.hms-cal .hms-cal-room { position: sticky; left: 0; background: var(--bs-body-bg); z-index: 1; min-width: 120px; }
.hms-cal .hms-today { background: var(--bs-primary-bg-subtle); }
.hms-cal .hms-weekend { background: var(--bs-tertiary-bg); }
.hms-cal-bar {
  display: block; border-radius: .5rem; padding: .2rem .5rem; color: #fff; overflow: hidden; text-overflow: ellipsis;
  background: var(--bs-primary); text-decoration: none; font-weight: 600;
}
.hms-cal-bar[data-status="pending"] { background: var(--bs-warning); color: #000; }
.hms-cal-bar[data-status="checked_in"] { background: var(--bs-success); }
.hms-cal-bar[data-status="checked_out"] { background: var(--bs-secondary); color: var(--bs-heading-color); }
.hms-cal-bar.hms-blocked { background: repeating-linear-gradient(135deg, var(--bs-danger-bg-subtle) 0 6px, var(--bs-body-bg) 6px 12px); color: var(--bs-danger); }

/* Housekeeping kanban */
.hms-kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.hms-kanban-col { background: var(--bs-tertiary-bg); border-radius: .75rem; padding: .75rem; min-height: 200px; }
.hms-kanban-card { background: var(--bs-body-bg); border-radius: .6rem; padding: .65rem .75rem; margin-bottom: .6rem; border: 1px solid var(--bs-border-color); }

/* Print views (invoice, receipt) */
@media print {
  .app-header, .app-menubar-tabs, .footer-wrapper, .app-page-head, .no-print { display: none !important; }
  .app-wrapper { margin: 0 !important; padding: 0 !important; }
  .card { box-shadow: none !important; border: 0 !important; }
}

/* Dashboard KPI labels: wrap between words only (never "Outstandin g") */
.hms-kpi .text-muted { word-break: normal; overflow-wrap: normal; hyphens: none; }

/* Management: tracebacks and email bodies */
.hms-pre {
  background: var(--bs-tertiary-bg); border: 1px solid var(--bs-border-color); border-radius: .6rem;
  padding: .9rem 1rem; max-height: 480px; overflow: auto; font-size: .8rem; white-space: pre-wrap; word-break: break-word;
}

/* List tables and status pills (Management pages) */
.ls-table thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color);
  background: var(--bs-body-bg); padding: 10px 14px; white-space: nowrap; border-bottom: 1px solid var(--bs-border-color); }
.ls-table td { padding: 10px 14px; }
.ls-table tbody tr:hover { background: var(--bs-tertiary-bg); }
.ls-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ls-grey { background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); }
.ls-blue { background: var(--bs-info-bg-subtle); color: var(--bs-info-text-emphasis); }
.ls-orange { background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis); }
.ls-green { background: var(--bs-success-bg-subtle); color: var(--bs-success-text-emphasis); }
.ls-red { background: var(--bs-danger-bg-subtle); color: var(--bs-danger-text-emphasis); }

/* Deployments (matches the inventory app's deployments page) */
.deploy-step { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid; font-size: .85rem; }
.deploy-step .dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; color: #fff; }
.deploy-step .dot .spinner-border { width: .7rem; height: .7rem; border-width: .12em; }
.deploy-step.done { background: var(--bs-success-bg-subtle); border-color: var(--bs-success-border-subtle); color: var(--bs-success-text-emphasis); }
.deploy-step.done .dot { background: var(--bs-success); }
.deploy-step.running { background: var(--bs-primary-bg-subtle); border-color: var(--bs-primary-border-subtle); color: var(--bs-primary-text-emphasis); }
.deploy-step.running .dot { background: var(--bs-primary); }
.deploy-step.failed { background: var(--bs-danger-bg-subtle); border-color: var(--bs-danger-border-subtle); color: var(--bs-danger-text-emphasis); }
.deploy-step.failed .dot { background: var(--bs-danger); }
.deploy-step.skipped, .deploy-step.pending { border-style: dashed; border-color: var(--bs-border-color); color: var(--bs-secondary-color); }
.deploy-step.skipped .dot, .deploy-step.pending .dot { background: var(--bs-secondary-bg); }
.deploy-step.skipped .label { text-decoration: line-through; }
.deploy-log { background: #0f172a; color: #e2e8f0; font-family: SFMono-Regular, Consolas, monospace; font-size: .8rem; line-height: 1.55;
  padding: 1rem 1.25rem; max-height: 460px; overflow: auto; white-space: pre-wrap; word-break: break-word; border-radius: .5rem; margin: 0; }
.deploy-history td, .deploy-history th { padding: .55rem 1.25rem; }

/* NexLink makes every card fill its column (height: 100% - gutter). Fine for one card per column,
   but stacked cards each grow to the full column height. Let stacked cards size to their content. */
.row > [class*="col"]:has(> .card ~ .card) > .card { height: auto; }

/* Site settings: a mock browser tab to preview the favicon */
.hms-favicon-tab { display: inline-flex; align-items: center; gap: .45rem; width: 9.5rem; padding: .45rem .7rem;
  border: 1px solid var(--bs-border-color); border-bottom: 0; border-radius: .6rem .6rem 0 0;
  background: var(--bs-tertiary-bg); font-size: .75rem; color: var(--bs-body-color); flex-shrink: 0; }
.hms-favicon-tab img { flex-shrink: 0; object-fit: contain; }

/* Sign-in: full-screen hotel photo; the card sits left, over the quiet part of the image,
   and the photo is anchored right so the front-desk handover stays in view on narrower screens. */
.hms-auth-bg {
  position: relative;
  background: #1f1b2e var(--hms-auth-image) 72% center / cover no-repeat;
}
.hms-auth-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 12, 30, .55) 0%, rgba(15, 12, 30, .25) 38%, rgba(15, 12, 30, 0) 60%);
}
.hms-auth-bg > .row { position: relative; }
.hms-auth-card {
  height: auto;
  /* Glass that blends into the photo: mostly see-through, blurred, with light text on it. */
  --hms-glass-text: #fff;
  --hms-glass-muted: rgba(255, 255, 255, .78);
  background: linear-gradient(160deg, rgba(67, 149, 57, .55), rgba(67, 149, 57, .35));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(67, 149, 57, .85);
  box-shadow: 0 20px 50px rgba(10, 8, 25, .35), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  color: var(--hms-glass-muted);
}
.hms-auth-card h5, .hms-auth-card .form-label, .hms-auth-card strong, .hms-auth-card .form-check-label { color: var(--hms-glass-text); }
.hms-auth-card p, .hms-auth-card .text-body, .hms-auth-card .form-text { color: var(--hms-glass-muted) !important; }
.hms-auth-card a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }
.hms-auth-card a:not(.btn):hover { text-decoration-color: #fff; }
.hms-auth-card .form-control {
  background-color: rgba(67, 149, 57, .30);
  border-color: rgba(67, 149, 57, .9);
  color: #fff;
}
.hms-auth-card .form-control::placeholder { color: rgba(255, 255, 255, .6); }
.hms-auth-card .form-control:focus {
  background-color: rgba(67, 149, 57, .40);
  border-color: #439539;
  box-shadow: 0 0 0 .2rem rgba(67, 149, 57, .35);
  color: #fff;
}
/* Chrome autofill paints inputs pale blue; keep them glassy. */
.hms-auth-card .form-control:-webkit-autofill,
.hms-auth-card .form-control:-webkit-autofill:hover,
.hms-auth-card .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(45, 105, 38, .85) inset;
  transition: background-color 9999s ease-out 0s;
}
.hms-auth-card .toggle-password, .hms-auth-card .toggle-password i { color: rgba(255, 255, 255, .8); }
.hms-auth-card .form-control.is-invalid { border-color: #ffb3b8; }
.hms-auth-card .invalid-feedback { color: #ffd0d4; }
.hms-auth-card .alert { background: rgba(255, 255, 255, .85); border: 0; }
.hms-auth-card .btn-light { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); color: #fff; }
.hms-auth-card .btn-light:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.hms-auth-card .bg-success-subtle, .hms-auth-card .bg-danger-subtle { background: rgba(255, 255, 255, .85) !important; }
/* Without blur support the photo would show sharp behind light text: darken the glass instead. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hms-auth-card { background: rgba(45, 105, 38, .9); }
}
}
@media (max-width: 991.98px) {
  .hms-auth-bg::before { background: rgba(15, 12, 30, .45); }
}

/* Success pop-up: check draws itself, then a bar counts down to auto-close */
.hms-success-modal .modal-content { border: 0; border-radius: 1rem; }
.hms-check-circle { stroke: var(--bs-success); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151;
  fill: var(--bs-success-bg-subtle); }
.hms-check-mark { stroke: var(--bs-success); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 34; stroke-dashoffset: 34; }
.hms-success-modal.show .hms-check { animation: hms-pop .45s ease-out .1s both; }
.hms-success-modal.show .hms-check-circle { animation: hms-draw .6s ease-out .1s forwards; }
.hms-success-modal.show .hms-check-mark { animation: hms-draw .35s ease-out .6s forwards; }
.hms-success-timer { height: 4px; background: var(--bs-success-bg-subtle); }
.hms-success-timer span { display: block; height: 100%; width: 100%; background: var(--bs-success); transform-origin: left; }
.hms-success-modal.counting .hms-success-timer span { animation: hms-countdown var(--hms-success-ms, 3500ms) linear forwards; }
.hms-success-modal.paused .hms-success-timer span { animation-play-state: paused; }
@keyframes hms-draw { to { stroke-dashoffset: 0; } }
@keyframes hms-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes hms-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .hms-success-modal.show .hms-check, .hms-success-modal.show .hms-check-circle, .hms-success-modal.show .hms-check-mark { animation: none; }
  .hms-check-circle, .hms-check-mark { stroke-dashoffset: 0; }
}

/* Active sidebar items: brand green #439539.
   Outer rail = solid green tile, white icon. Inner sidebar = the same green at low opacity, with the
   text in a deeper shade of that green so it stays readable (full #439539 on the tint is too faint). */
:root { --hms-active: #439539; --hms-active-rgb: 67, 149, 57; --hms-active-text: #2f6b28; }
[data-bs-theme="dark"] { --hms-active-text: #8fd483; }

.app-navbar-tabs .nav-item .menu-link.active,
.app-navbar-tabs .nav-item .menu-link.active:hover,
.app-navbar-tabs .nav-item .menu-link.active:focus {
  background-color: var(--hms-active);
  color: #fff;
  box-shadow: 0 6px 14px rgba(var(--hms-active-rgb), .35);
}
.app-navbar-tabs .nav-item .menu-link.active i { color: #fff; }

.app-menubar-tabs .side-menubar .menu-item .menu-link {
  padding: 8px 10px; margin: 0 -10px; border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.app-menubar-tabs .side-menubar .menu-item .menu-link.active,
.app-menubar-tabs .side-menubar .menu-item .menu-link.active i {
  color: var(--hms-active-text);
}
.app-menubar-tabs .side-menubar .menu-item .menu-link.active {
  background-color: rgba(var(--hms-active-rgb), .14);
  font-weight: 600;
}
[data-bs-theme="dark"] .app-menubar-tabs .side-menubar .menu-item .menu-link.active { background-color: rgba(var(--hms-active-rgb), .24); }

/* Outer rail: each item is a centred square, so the active green tile sits evenly around its icon. */
.app-navbar-tabs .nav-item .menu-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin-inline: auto;
}
.app-navbar-tabs .nav-item .menu-link i { line-height: 1; display: block; }

/* Group headings inside an inner-sidebar panel (e.g. Dashboard → Today / Quick actions) */
.side-menubar .hms-menu-subheading { margin-top: .9rem; }
.side-menubar .hms-menu-subheading .menu-label { color: var(--bs-secondary-color); }

/* Dashboard › Occupancy tonight: night-time hotel scene behind the card content.
   Sits above the purple gradient overlay, below the text and gauge (they come later in the DOM). */
.ovarlay-primary-gradient > .hms-hotel-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hms-hotel-scene svg { width: 100%; height: 100%; display: block; }
.hms-stars circle { opacity: .7; animation: hms-twinkle 3.2s ease-in-out infinite; }
.hms-stars circle:nth-child(3n)   { animation-delay: -1.1s; animation-duration: 2.6s; }
.hms-stars circle:nth-child(3n+1) { animation-delay: -2.2s; animation-duration: 3.8s; }
.hms-beacon { animation: hms-beacon 1.6s ease-in-out infinite; }
.hms-sign text { animation: hms-neon 4s ease-in-out infinite; }
.hms-win { fill: rgba(255, 255, 255, .10); transition: fill 1.2s ease; }
.hms-win.on { fill: #ffd27a; }
.hms-win.on.warm { fill: #ffb86b; }
@keyframes hms-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }
@keyframes hms-beacon { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes hms-neon { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: .55; } 50% { opacity: 1; } 70% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  .hms-stars circle, .hms-beacon, .hms-sign text { animation: none; }
  .hms-win { transition: none; }
}

/* Inner sidebar: menu fills the space above the property card and scrolls; the card never covers it.
   (NexLink sizes the menu as 100vh - 285px, which assumes a shorter card.) */
.app-menubar-tabs .app-content-inner {
  display: flex; flex-direction: column;
  height: calc(100vh - var(--app-header-height, 80px));
}
.app-menubar-tabs .app-content-inner > .tab-content { flex: 1 1 auto; min-height: 0; }
.app-menubar-tabs .app-content-inner > .tab-content > .tab-pane.active { height: 100%; }
.app-menubar-tabs .app-tab-content .app-content-inner .app-navbar { height: 100%; }
.app-menubar-tabs .app-content-inner > .card { flex: 0 0 auto; margin-bottom: 1rem; height: auto; }
@media (max-height: 760px) {
  .app-menubar-tabs .app-content-inner > .card { display: none !important; }
}

/* Events list: "coming up" cards, date tile and status chips */
.hms-event-stat .avatar-lg { width: 52px; height: 52px; }
.hms-event-card { padding: 14px; border: 1px solid var(--bs-border-color); border-left: 4px solid var(--hms-tone, var(--bs-primary));
  border-radius: 12px; background: var(--bs-body-bg); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hms-event-card:hover, .hms-event-card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
.hms-tone-primary { --hms-tone: var(--bs-primary); --hms-tone-rgb: var(--bs-primary-rgb); }
.hms-tone-success { --hms-tone: var(--bs-success); --hms-tone-rgb: var(--bs-success-rgb); }
.hms-tone-warning { --hms-tone: var(--bs-warning); --hms-tone-rgb: var(--bs-warning-rgb); }
.hms-tone-danger { --hms-tone: var(--bs-danger); --hms-tone-rgb: var(--bs-danger-rgb); }
.hms-tone-info { --hms-tone: var(--bs-info); --hms-tone-rgb: var(--bs-info-rgb); }
.hms-tone-secondary { --hms-tone: var(--bs-secondary); --hms-tone-rgb: var(--bs-secondary-rgb); }
.hms-event-date { width: 56px; padding: 6px 0; border-radius: 10px; background: rgba(var(--hms-tone-rgb, var(--bs-primary-rgb)), .1); line-height: 1.1; }
.hms-event-month { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--hms-tone); }
.hms-event-day { font-size: 22px; font-weight: 700; color: var(--bs-heading-color); }
.hms-event-weekday { font-size: 11px; color: var(--bs-secondary-color); }
.hms-live-badge { animation: hms-beacon 1.6s ease-in-out infinite; }
.hms-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--bs-border-color); color: var(--bs-body-color); text-decoration: none; transition: background-color .15s ease; }
.hms-chip:hover { background: var(--bs-tertiary-bg); color: var(--bs-body-color); }
.hms-chip.active { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.hms-chip-count { font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 999px; background: var(--bs-tertiary-bg); }
.hms-chip.active .hms-chip-count { background: rgba(255, 255, 255, .25); }
.min-w-0 { min-width: 0; }
@media (prefers-reduced-motion: reduce) { .hms-event-card { transition: none; } .hms-event-card:hover { transform: none; } .hms-live-badge { animation: none; } }

/* Event form: event-type tiles and searchable selects */
.hms-type-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.hms-type-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; cursor: pointer;
  border: 1px solid var(--bs-border-color); border-radius: 12px; text-align: center; transition: border-color .15s ease, background-color .15s ease; }
.hms-type-tile:hover { border-color: var(--hms-tone); }
.hms-type-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 18px;
  color: var(--hms-tone); background: rgba(var(--hms-tone-rgb), .12); }
.hms-type-label { font-size: 13px; line-height: 1.2; }
.hms-type-tile:has(input:checked) { border-color: var(--hms-tone); background: rgba(var(--hms-tone-rgb), .08);
  box-shadow: inset 0 0 0 1px var(--hms-tone); }
.hms-type-tile:has(input:checked) .hms-type-label { font-weight: 600; }
.hms-type-tile:has(input:focus-visible) { outline: 2px solid var(--hms-tone); outline-offset: 2px; }
@media (min-width: 1200px) { .hms-sticky-card { position: sticky; top: calc(var(--app-header-height, 80px) + 16px); } }
.hms-form .bootstrap-select { width: 100% !important; }
.hms-form .bootstrap-select > .dropdown-toggle { background-color: var(--bs-body-bg); }
.hms-form .bootstrap-select > .dropdown-toggle::after { display: none; }  /* form-select draws its own arrow */
.hms-form .bootstrap-select .dropdown-menu { padding: 6px; border-radius: 10px; box-shadow: 0 12px 28px rgba(15, 23, 42, .12); }
.hms-form .bootstrap-select .bs-searchbox { padding: 2px 2px 6px; }
.hms-form .bootstrap-select .bs-searchbox .form-control { font-size: 14px; }
.hms-form .bootstrap-select .dropdown-item { border-radius: 6px; }
.hms-form .bootstrap-select .dropdown-item.active, .hms-form .bootstrap-select .dropdown-item:active { background: var(--bs-primary); color: #fff; }
.hms-form .bootstrap-select.is-invalid > .dropdown-toggle { border-color: var(--bs-danger); }
/* bootstrap-select copies the select's .form-select onto its wrapper; only the button should look like a field */
.hms-form .bootstrap-select.form-select { padding: 0; border: 0; background: none; box-shadow: none; }
.hms-form .bootstrap-select .bs-placeholder .filter-option-inner-inner { color: var(--bs-secondary-color); }
.hms-form .bootstrap-select .no-results { padding: 6px 10px; font-size: 13px; color: var(--bs-secondary-color); background: none; }

/* Generic lists: clickable summary cards */
.hms-stat-link { transition: transform .15s ease, box-shadow .15s ease; }
.hms-stat-link:hover, .hms-stat-link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
@media (prefers-reduced-motion: reduce) { .hms-stat-link { transition: none; } .hms-stat-link:hover { transform: none; } }

/* Login page sign-in button */
.btn-signin {
  --bs-btn-color: #fff;
  --bs-btn-bg: #439539;
  --bs-btn-border-color: #439539;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #38802f;
  --bs-btn-hover-border-color: #38802f;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #306d28;
  --bs-btn-active-border-color: #306d28;
  --bs-btn-focus-shadow-rgb: 67, 149, 57;
  --bs-btn-disabled-bg: #439539;
  --bs-btn-disabled-border-color: #439539;
  background-color: #439539;
  border-color: #439539;
  color: #fff;
}
.btn-signin:hover, .btn-signin:focus {
  background-color: #38802f;
  border-color: #38802f;
  color: #fff;
}
.btn-signin:active {
  background-color: #306d28;
  border-color: #306d28;
  color: #fff;
}
