/* Hotel Owner Dashboard — 1.0.0 */
html, body.hod-body { margin: 0; padding: 0; background: #fdf3f7; }
.hod-app, .hod-app * { box-sizing: border-box; }
.hod-app {
  --p: #f0508b;
  --p-600: color-mix(in srgb, var(--p) 86%, #000);
  --p-50: color-mix(in srgb, var(--p) 7%, #fff);
  --p-100: color-mix(in srgb, var(--p) 14%, #fff);
  --p-200: color-mix(in srgb, var(--p) 30%, #fff);
  --p-300: color-mix(in srgb, var(--p) 48%, #fff);
  --ink: #15152e; --muted: #6d7189; --line: #efecf3; --bg: #fdf3f7;
  --green: #3fd68b; --green-bg: #d3f4e1; --grey: #cfd3e1; --grey-bg: #dfe2ec; --yellow: #fbd24c; --yellow-bg: #fdecb0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); font-size: 14px; line-height: 1.4; background: var(--bg); min-height: 100vh;
}
.hod-app a { color: inherit; text-decoration: none; }
.hod-app button, .hod-app input, .hod-app select { font: inherit; color: inherit; }
.hod-app h1, .hod-app h2, .hod-app p { margin: 0; }
.hod-ic { width: 20px; height: 20px; flex: none; }

/* shell */
.hod-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.hod-side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 14px 15px 22px;
  background: linear-gradient(180deg, #ffeef4 0%, #fdeef3 60%, #fbe9f0 100%); border-right: 1px solid #fbe3ec; z-index: 40;
}
.hod-logo { text-align: center; padding: 6px 0 26px; }
.hod-logo img { max-width: 150px; max-height: 70px; }
.hod-logo-t { font-family: Georgia, "Times New Roman", serif; font-size: 27px; color: var(--p); line-height: 1.1; letter-spacing: .2px; }
.hod-logo-s { font-size: 9px; letter-spacing: 3px; color: var(--p); margin-top: 6px; opacity: .85; }
.hod-nav-list { display: flex; flex-direction: column; gap: 6px; }
.hod-nav { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 10px; color: #55587a; font-size: 14.5px; transition: background .15s; }
.hod-nav:hover { background: rgba(255,255,255,.7); }
.hod-nav.is-active { background: var(--p); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--p) 32%, transparent); }
.hod-nav .hod-ic { width: 21px; height: 21px; }
.hod-logout { margin-top: auto; }
.hod-overlay { display: none; }

.hod-main { padding: 20px 26px 30px; min-width: 0; }
.hod-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.hod-top-t h1 { font-size: 27px; font-weight: 700; letter-spacing: -.3px; }
.hod-top-t p { color: var(--muted); margin-top: 4px; font-size: 15px; }
.hod-top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; position: relative; }
.hod-burger { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }

.hod-btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 9px; padding: 11px 17px; cursor: pointer; font-size: 14px; background: #fff; }
.hod-btn-p { background: var(--p); color: #fff !important; box-shadow: 0 6px 14px color-mix(in srgb, var(--p) 28%, transparent); }
.hod-btn-p:hover { background: var(--p-600); }
.hod-btn .hod-ic { width: 17px; height: 17px; }

.hod-range { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; cursor: pointer; font-size: 13.5px; }
.hod-range .hod-ic { width: 17px; height: 17px; }
.hod-user { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 0; cursor: pointer; padding: 0 0 0 14px; border-left: 1px solid var(--line); }
.hod-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--p-100); color: var(--p); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.hod-user .hod-ic { width: 15px; height: 15px; }

.hod-pop { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(30,20,60,.14); padding: 12px; z-index: 60; min-width: 240px; }
.hod-pop.is-user { min-width: 190px; padding: 6px; }
.hod-pop.is-user a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; }
.hod-pop.is-user a:hover { background: var(--p-50); }
.hod-pop-range { right: auto; left: 0; }
.hod-pop .hod-preset { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.hod-pop .hod-preset:hover { background: var(--p-50); }
.hod-pop hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.hod-pop label { display: block; font-size: 12px; color: var(--muted); margin: 6px 0 3px; }
.hod-pop input[type=date], .hod-field input, .hod-field select, .hod-tools input, .hod-tools select {
  width: 100%; border: 1px solid #e3dfeb; border-radius: 8px; padding: 9px 10px; background: #fff; min-height: 40px;
}
.hod-pop .hod-btn { width: 100%; justify-content: center; margin-top: 10px; }

/* cards */
.hod-card { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(60,30,80,.04), 0 6px 20px rgba(60,30,80,.04); padding: 18px 20px; }
.hod-card h2 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.hod-loading, .hod-err, .hod-empty { padding: 40px; text-align: center; color: var(--muted); }
.hod-err { color: #c0264e; }
.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* KPIs */
.hod-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.hod-kpi { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.hod-kpi-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--p-100); color: var(--p); display: grid; place-items: center; flex: none; font-size: 24px; font-weight: 600; }
.hod-kpi-b { min-width: 0; }
.hod-kpi-l { color: #3b3d58; font-size: 13.5px; margin-top: 1px; }
.hod-kpi-v { display: flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 700; letter-spacing: -.5px; margin-top: 4px; flex-wrap: wrap; }
.hod-kpi-s { color: #9a9db3; font-size: 12px; margin-top: 3px; }
.hod-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; letter-spacing: 0; }
.hod-delta .hod-ic { width: 12px; height: 12px; stroke-width: 2.6; }
.hod-delta.up { color: #12a05c; background: #e1f8ec; }
.hod-delta.down { color: #d6335f; background: #fde6ec; }

/* grid */
.hod-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.hod-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hod-grid > .hod-card, .hod-col > .hod-card { min-width: 0; }
.hod-col > .hod-card:first-child { flex: 1; }

/* calendar */
.hod-cal-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.hod-cal-nav { display: flex; align-items: center; gap: 22px; margin-left: 28px; }
.hod-cal-nav b { font-weight: 500; min-width: 120px; text-align: center; font-size: 14px; }
.hod-ibtn { width: 36px; height: 36px; border-radius: 8px; background: #f5f3f9; border: 0; display: grid; place-items: center; cursor: pointer; }
.hod-ibtn .hod-ic { width: 16px; height: 16px; }
.hod-seg { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.hod-seg button { background: #fff; border: 0; padding: 9px 18px; cursor: pointer; font-size: 13.5px; }
.hod-seg button + button { border-left: 1px solid var(--line); }
.hod-seg button.is-active { background: var(--p); color: #fff; }
.hod-legend { display: flex; justify-content: flex-end; gap: 16px; font-size: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.hod-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hod-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.i-av { background: var(--green); } .i-bk { background: var(--p-300); } .i-bl { background: var(--grey); } .i-mt { background: var(--yellow); }
.hod-cal-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.hod-cal-inner { min-width: calc(196px + var(--n) * 46px); }
.hod-cal-row { display: grid; grid-template-columns: 196px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.hod-cal-room { position: sticky; left: 0; background: #fff; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 0; min-width: 0; }
.hod-cal-room img, .hod-cal-room .ph { width: 52px; height: 38px; border-radius: 4px; object-fit: cover; background: var(--p-100); flex: none; }
.hod-cal-room div { min-width: 0; flex: 1; }
.hod-cal-room b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hod-cal-room small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hod-cal-chev { width: 13px !important; height: 13px !important; color: #9a9db3; }
.hod-cal-hrow .hod-cal-room { min-height: 42px; }
.hod-cal-hdays, .hod-cal-days { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.hod-cal-h { text-align: center; padding: 6px 0 5px; font-size: 11px; color: #6d7189; line-height: 1.25; }
.hod-cal-h b { display: block; font-weight: 500; font-size: 12px; color: var(--ink); width: 22px; height: 22px; line-height: 22px; margin: 0 auto; border-radius: 50%; }
.hod-cal-h.is-today b { background: var(--p); color: #fff; }
.hod-cal-days { min-height: 42px; }
.hod-cal-days > i { background: var(--green-bg); border-right: 2px solid #fff; margin: 4px 0; }
.hod-today { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed var(--p-300); z-index: 1; pointer-events: none; }
.hod-bar { position: absolute; top: 4px; bottom: 4px; z-index: 2; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 0 8px; overflow: hidden; background: var(--p-200); font-size: 12px; color: #1d1d35; }
.hod-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hod-bar.is-pending { background: var(--p-100); border: 1px dashed var(--p-300); }
.hod-bar.is-blocked { background: var(--grey-bg); }
.hod-bar.is-maintenance { background: var(--yellow-bg); }
.hod-bar.cut-l { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.hod-bar.cut-r { border-top-right-radius: 0; border-bottom-right-radius: 0; }
a.hod-bar:hover { filter: brightness(.96); }

/* chart */
.hod-ov-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.hod-ov-leg { display: flex; gap: 16px; font-size: 12px; margin-top: 6px; }
.hod-ov-leg span { display: inline-flex; align-items: center; gap: 6px; }
.hod-ov-leg i { width: 9px; height: 9px; border-radius: 50%; }
.hod-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.hod-chart text { font-size: 11px; fill: #6d7189; font-family: inherit; }
.hod-chart .grid { stroke: #efecf3; stroke-width: 1; }
.hod-chart .b1 { fill: var(--p); } .hod-chart .b2 { fill: var(--p-200); }
.hod-chart .ln { fill: none; stroke: var(--p); stroke-width: 1.6; }
.hod-chart .dot { fill: #fff; stroke: var(--p); stroke-width: 1.6; }

/* quick actions */
.hod-qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.hod-qa a { border: 1px solid var(--line); border-radius: 10px; padding: 14px 8px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.hod-qa a:hover { border-color: var(--p-300); box-shadow: 0 6px 16px color-mix(in srgb, var(--p) 12%, transparent); }
.hod-qa .hod-ic { color: var(--p); width: 26px; height: 26px; }

/* tables */
.hod-tablewrap { overflow-x: auto; }
.hod-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 12px; }
.hod-table th { text-align: left; font-weight: 500; font-size: 12.5px; color: #55587a; background: #faf8fc; padding: 9px 12px; white-space: nowrap; border: 0; }
.hod-table th:first-child { border-radius: 8px 0 0 8px; } .hod-table th:last-child { border-radius: 0 8px 8px 0; }
.hod-table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); white-space: nowrap; background: transparent; }
.hod-table tr:last-child td { border-bottom: 0; }
.hod-guest { display: flex; align-items: center; gap: 10px; }
.hod-guest .hod-avatar { width: 30px; height: 30px; font-size: 11px; background: #eceef5; color: #3b3d58; }
.hod-chip { display: inline-block; padding: 4px 12px; border-radius: 7px; font-size: 12.5px; }
.c-confirmed { background: #d9f6e6; color: #138a52; }
.c-checked_in { background: #dbeafe; color: #2a62c6; }
.c-pending { background: #fde9cf; color: #c26a05; }
.c-cancelled { background: #fde3e8; color: #c0264e; }
.hod-dots { font-weight: 700; letter-spacing: 1px; padding: 4px 8px; border-radius: 6px; display: inline-block; }
a.hod-dots:hover { background: var(--p-50); }
.hod-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hod-link { color: var(--p); display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.hod-link .hod-ic { width: 15px; height: 15px; }

/* donut */
.hod-donut-wrap { display: flex; align-items: center; gap: 22px; margin-top: 10px; flex-wrap: wrap; }
.hod-donut { width: 190px; height: 190px; flex: none; }
.hod-donut circle { fill: none; stroke-width: 24; }
.hod-donut .s-booked { stroke: var(--p); } .hod-donut .s-available { stroke: var(--green); }
.hod-donut .s-blocked { stroke: var(--grey); } .hod-donut .s-maintenance { stroke: var(--yellow); } .hod-donut .s-none { stroke: #eee; }
.hod-donut text { text-anchor: middle; fill: var(--muted); font-size: 12px; font-family: inherit; }
.hod-donut text.big { fill: var(--ink); font-size: 30px; font-weight: 700; }
.hod-rs { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 14px; }
.hod-rs div { display: flex; align-items: center; gap: 10px; }
.hod-rs i { width: 15px; height: 15px; border-radius: 50%; flex: none; }
.hod-rs span { margin-left: auto; font-size: 13.5px; white-space: nowrap; }
.hod-rs .k-booked { background: var(--p); } .hod-rs .k-available { background: var(--green); } .hod-rs .k-blocked { background: var(--grey); } .hod-rs .k-maintenance { background: var(--yellow); }

/* tools / forms */
.hod-tools { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 4px; }
.hod-tools input { max-width: 340px; } .hod-tools select { max-width: 220px; }
.hod-pager { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.hod-pager .hod-btn { border: 1px solid var(--line); padding: 8px 14px; }
.hod-pager .hod-btn[disabled] { opacity: .4; cursor: default; }
.hod-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; align-items: end; }
.hod-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hod-info { margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: var(--p-50); color: #55587a; font-size: 13px; }
.hod-x { background: none; border: 1px solid var(--line); border-radius: 7px; padding: 5px 11px; cursor: pointer; color: #c0264e; }
.hod-stack { display: flex; flex-direction: column; gap: 14px; }
.hod-roomcell { display: flex; align-items: center; gap: 10px; }
.hod-roomcell img, .hod-roomcell .ph { width: 52px; height: 38px; border-radius: 4px; object-fit: cover; background: var(--p-100); }

/* login */
.hod-login-wrap { display: grid; place-items: center; padding: 30px 16px; }
.hod-login { background: #fff; border-radius: 16px; padding: 34px 32px; width: 100%; max-width: 380px; box-shadow: 0 10px 40px rgba(60,30,80,.08); text-align: center; }
.hod-login .hod-logo-t { margin-bottom: 18px; }
.hod-login form { text-align: left; }
.hod-login label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
.hod-login input[type=text], .hod-login input[type=password] { width: 100%; border: 1px solid #e3dfeb; border-radius: 8px; padding: 10px; font: inherit; }
.hod-login input[type=submit] { margin-top: 14px; width: 100%; background: var(--p); color: #fff; border: 0; border-radius: 9px; padding: 12px; cursor: pointer; font: inherit; }
.hod-login .login-remember label { display: flex; gap: 8px; align-items: center; }

/* responsive */
@media (max-width: 1280px) {
  .hod-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .hod-grid { grid-template-columns: minmax(0, 1fr); }
  .hod-pop-range { right: 0; }
}
@media (max-width: 900px) {
  .hod-shell { grid-template-columns: minmax(0, 1fr); }
  .hod-side { position: fixed; left: 0; top: 0; width: 240px; transform: translateX(-100%); transition: transform .2s; }
  .hod-side-open .hod-side { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .hod-side-open .hod-overlay { display: block; position: fixed; inset: 0; background: rgba(20,10,40,.35); z-index: 30; }
  .hod-burger { display: inline-flex; }
  .hod-main { padding: 14px 14px 26px; }
  .hod-top { flex-wrap: wrap; }
  .hod-top-t { flex: 1 1 60%; }
  .hod-top-r { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .hod-user { margin-left: auto; }
  .hod-pop-range { right: auto; left: 0; }
}
@media (max-width: 640px) {
  .hod-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hod-kpi { flex-direction: column; }
  .hod-top-t h1 { font-size: 22px; }
  .hod-cal-nav { margin-left: 0; gap: 10px; }
  .hod-seg { margin-left: 0; }
  .hod-btn-p span { display: none; }
}

/* v1.1 — sync UI */
.hod-cal-days > i { cursor: pointer; transition: background .12s; }
.hod-cal-days > i:hover { background: color-mix(in srgb, var(--green-bg) 70%, var(--p-100)); }
.hod-bar[data-act] { cursor: pointer; }
.hod-bar[data-act]:hover { filter: brightness(.95); }
.hod-dots { background: none; border: 0; cursor: pointer; }
.hod-dots:hover { background: var(--p-50); }
.hod-live { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.hod-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63,214,139,.6); animation: hodpulse 2s infinite; }
@keyframes hodpulse { 70% { box-shadow: 0 0 0 8px rgba(63,214,139,0); } 100% { box-shadow: 0 0 0 0 rgba(63,214,139,0); } }

.hod-menu { position: fixed; z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(30,20,60,.16); padding: 5px; min-width: 190px; display: flex; flex-direction: column; }
.hod-menu button, .hod-menu a { text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 7px; cursor: pointer; font-size: 13.5px; display: block; }
.hod-menu button:hover, .hod-menu a:hover { background: var(--p-50); }
.hod-menu a { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; margin-top: 4px; }

.hod-modal-bg { position: fixed; inset: 0; background: rgba(20,10,40,.4); z-index: 80; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.hod-modal { background: #fff; border-radius: 16px; padding: 22px 24px; width: 100%; max-width: 640px; box-shadow: 0 24px 60px rgba(30,20,60,.3); }
.hod-mform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hod-field.full { grid-column: 1 / -1; }
.hod-field textarea { width: 100%; border: 1px solid #e3dfeb; border-radius: 8px; padding: 9px 10px; font: inherit; resize: vertical; }
.hod-field input[disabled] { background: #f7f5fa; color: var(--muted); }
.hod-modal-err { color: #c0264e; font-size: 13px; min-height: 18px; margin-top: 10px; }
.hod-modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.hod-modal-foot .hod-btn:not(.hod-btn-p) { border: 1px solid var(--line); }

.hod-toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; background: #15152e; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .4s, transform .4s; max-width: 340px; }
.hod-toast.bad { background: #c0264e; }
.hod-toast.out { opacity: 0; transform: translateY(8px); }
@media (max-width: 640px) { .hod-mform { grid-template-columns: minmax(0, 1fr); } }

/* v1.4 — prices & settings */
.hod-x-n { color: var(--ink); }
.hod-rate { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.hod-rate:first-of-type { border-top: 0; }
.hod-chks { display: flex; gap: 6px; flex-wrap: wrap; }
.hod-chk { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.hod-modal-wide { max-width: 860px; }
.hod-rtable { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; overflow-x: auto; }
.hod-rrow { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(5, minmax(80px, 1fr)) 40px; gap: 8px; align-items: center; min-width: 720px; }
.hod-rrow input, .hod-rrow select { width: 100%; border: 1px solid #e3dfeb; border-radius: 8px; padding: 9px 8px; min-height: 40px; background: #fff; }
.hod-rhead { font-size: 12px; color: var(--muted); }

/* external (iCal) bookings */
.c-ext { background: #eceef5; color: #3b3d58; }
.hod-bar.is-ext { cursor: default; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 6px, transparent 6px 12px); }

/* v1.5 — payments, coupons */
.hod-money { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.hod-money-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hod-money-grid > div { background: var(--p-50); border-radius: 10px; padding: 10px 12px; }
.hod-money-grid small { display: block; color: var(--muted); font-size: 12px; }
.hod-money-grid b { font-size: 18px; }
.hod-money-grid .is-due { background: #fde9cf; }
.hod-money-grid .is-ok { background: #d9f6e6; }
.hod-money-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.hod-money-row .hod-field { flex: 1; min-width: 160px; }
.hod-money-hint { color: var(--muted); font-size: 12px; }
.hod-modal { max-height: calc(100vh - 32px); overflow-y: auto; }

/* Σελίδα επεξεργασίας κράτησης (νέο παράθυρο) */
.hod-bkpage { min-height: 100vh; }
.hod-modal-bg.is-page { position: static; inset: auto; background: none; min-height: 100vh; padding: 24px 16px; place-items: start center; z-index: auto; }
.hod-modal-bg.is-page .hod-modal { max-width: 780px; max-height: none; overflow: visible; box-shadow: 0 10px 34px rgba(30,20,60,.12); }

.hod-roomrow { display: flex; gap: 8px; align-items: center; }
.hod-roomrow input { flex: 1; }
.hod-roompick { margin-top: 10px; padding: 12px; border: 1px dashed var(--p-100, #f6c9da); border-radius: 12px; background: var(--p-50, #fff7fa); }
.hod-roompick select { flex: 1; min-width: 0; }

.hod-quote { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--p-50, #fff7fa); border: 1px solid var(--p-100, #f6c9da); margin-top: 12px; }
.hod-quote[hidden] { display: none; }
.hod-quote small { color: var(--muted, #6b6480); }
.hod-quote b { font-size: 20px; }
.hod-quote b small { font-size: 12px; font-weight: 400; }
.hod-quote em { flex-basis: 100%; font-style: normal; font-size: 12px; color: var(--muted, #6b6480); }

/* Πεδία ημερομηνίας ΗΗ/ΜΜ/ΕΕΕΕ */
.hod-dwrap { position: relative; display: block; width: 100%; }
.hod-dwrap > input[type="text"] { width: 100%; padding-right: 44px; }
.hod-dwrap > input.hod-dbad { border-color: #c0264e; }
.hod-dbtn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted, #6b6480); display: grid; place-items: center; }
.hod-dbtn svg { width: 18px; height: 18px; }
.hod-dnative { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }

.hod-qb { flex-basis: 100%; }
.hod-qtable { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 4px; }
.hod-qtable td { padding: 6px 0; border-top: 1px solid var(--p-100, #f6c9da); vertical-align: top; }
.hod-qtable td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.hod-qtable td span { display: block; }
.hod-qtable td small { display: block; color: var(--muted, #6b6480); margin-top: 2px; }
.hod-qtable td i { font-style: normal; color: var(--muted, #6b6480); }

.hod-credit { display: block; margin-top: 14px; padding: 8px 12px; font-size: 11.5px; line-height: 1.4; color: var(--muted, #8a8399); text-align: center; }
.hod-credit:hover { color: var(--p); text-decoration: underline; }

/* Πλαϊνό μενού: πιο συμπαγές, με scroll όταν η οθόνη είναι χαμηλή */
.hod-side { overflow-y: auto; overscroll-behavior: contain; padding-top: 10px; padding-bottom: 12px; scrollbar-width: thin; }
.hod-logo { padding: 2px 0 12px; }
.hod-logo img { max-height: 60px; }
.hod-nav-list { gap: 2px; }
.hod-nav { padding: 8px 12px; gap: 12px; font-size: 14px; }
.hod-nav .hod-ic { width: 20px; height: 20px; }
.hod-logout { margin-top: 8px; }
.hod-credit { margin-top: 8px; padding: 6px 8px; }
@media (max-height: 760px) {
  .hod-nav { padding: 6px 12px; }
  .hod-logo { padding-bottom: 6px; }
  .hod-logo img { max-height: 48px; }
}

.hod-datef { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.hod-datef input { max-width: 150px; }

.hod-previewbar { margin: 10px 0; padding: 8px 10px; border-radius: 10px; background: #fff3cd; color: #664d03; font-size: 12px; line-height: 1.4; }
.hod-previewbar a { color: inherit; font-weight: 600; }

.hod-charges{margin:14px 0;padding-top:12px;border-top:1px dashed var(--line)}.hod-charges h4{margin:0 0 6px;font-size:15px}

/* v1.8.1 — ουδέτερο φόντο, sidebar με απόχρωση brand, safe-area σε landscape */
html, body.hod-body { background: #fff; }
.hod-app { --bg: #f7f8fb; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.hod-side { background: color-mix(in srgb, var(--p) 5%, #fff); border-right: 1px solid var(--line); }
.hod-side-open .hod-overlay { background: rgba(15,18,30,.25); }
@media (max-width: 900px) {
  .hod-side { padding-top: calc(10px + env(safe-area-inset-top)); padding-left: calc(15px + env(safe-area-inset-left)); width: calc(240px + env(safe-area-inset-left)); }
}
