/**
 * Shell visual inspirado em marketplace tipo Holidu (superfícies claras, cartões amplos, tipografia legível).
 * Usado pelas páginas accommodation_settings_*.new.html
 */
:root {
  --acc-h-bg: #f4f6f8;
  --acc-h-surface: #ffffff;
  --acc-h-border: #e8eaed;
  --acc-h-text: #1c1c1e;
  --acc-h-muted: #6b7280;
  --acc-h-accent: #0f766e;
  --acc-h-accent-hover: #0d9488;
  --acc-h-beds: #001f3f;
  --acc-h-radius: 16px;
  --acc-h-radius-sm: 10px;
  --acc-h-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --acc-h-sidebar-w: 280px;
  --acc-h-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.acc-h-shell *,
.acc-h-shell *::before,
.acc-h-shell *::after {
  box-sizing: border-box;
}

.acc-h-shell {
  margin: 0;
  min-height: 100vh;
  font-family: var(--acc-h-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--acc-h-text);
  background: var(--acc-h-bg);
}

.acc-h-shell a {
  color: var(--acc-h-accent);
  text-decoration: none;
}
.acc-h-shell a:hover {
  text-decoration: underline;
  color: var(--acc-h-accent-hover);
}

.acc-h-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--acc-h-surface);
  border-bottom: 1px solid var(--acc-h-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.acc-h-topbar__brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.acc-h-topbar__brand strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.acc-h-topbar__brand span {
  font-size: 0.8rem;
  color: var(--acc-h-muted);
}

.acc-h-topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.acc-h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  border: 1px solid var(--acc-h-border);
  background: var(--acc-h-surface);
  color: var(--acc-h-text);
  cursor: pointer;
  text-decoration: none;
}
.acc-h-btn:hover {
  border-color: var(--acc-h-muted);
  text-decoration: none;
}
.acc-h-btn--primary {
  background: var(--acc-h-accent);
  border-color: var(--acc-h-accent);
  color: #fff;
}
.acc-h-btn--primary:hover {
  background: var(--acc-h-accent-hover);
  border-color: var(--acc-h-accent-hover);
  color: #fff;
  text-decoration: none;
}

.acc-h-layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 56px);
}

.acc-h-sidebar {
  width: var(--acc-h-sidebar-w);
  flex-shrink: 0;
  background: var(--acc-h-surface);
  border-right: 1px solid var(--acc-h-border);
  padding: 1.25rem 0 2rem;
  overflow-y: auto;
}

.acc-h-sidebar__title {
  padding: 0 1.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acc-h-muted);
}

.acc-h-nav-group {
  margin-bottom: 0.25rem;
}
.acc-h-nav-group + .acc-h-nav-group {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--acc-h-border);
}

.acc-h-nav-parent {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 1.25rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--acc-h-beds);
  text-align: left;
  cursor: pointer;
  gap: 0.5rem;
}
.acc-h-nav-parent:hover {
  background: rgba(15, 118, 110, 0.06);
}

.acc-h-nav-parent__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.9;
}

.acc-h-nav-parent__label {
  flex: 1;
}

.acc-h-nav-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--acc-h-beds);
  opacity: 0.75;
  transition: transform 0.2s ease;
}
.acc-h-nav-group[data-open="false"] .acc-h-nav-caret {
  transform: rotate(-90deg);
}

.acc-h-nav-children {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0.5rem;
}
.acc-h-nav-group[data-open="false"] .acc-h-nav-children {
  display: none;
}

.acc-h-nav-children > li > a,
.acc-h-nav-children > li > button.acc-h-nav-subparent {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.45rem 1rem 0.45rem 2.5rem;
  font-size: 0.9rem;
  color: var(--acc-h-beds);
  text-decoration: none;
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  gap: 0.5rem;
}
.acc-h-nav-subparent .acc-h-nav-caret {
  margin-left: auto;
}
.acc-h-nav-children > li > a:hover,
.acc-h-nav-children > li > button.acc-h-nav-subparent:hover {
  background: rgba(0, 31, 63, 0.05);
  text-decoration: none;
}

.acc-h-nav-children > li > a.is-active {
  font-weight: 600;
  background: rgba(15, 118, 110, 0.1);
  border-left: 3px solid var(--acc-h-accent);
  padding-left: calc(2.5rem - 3px);
}

.acc-h-nav-subwrap .acc-h-nav-caret {
  margin-left: auto;
}
.acc-h-nav-subwrap[data-open="false"] .acc-h-nav-sublist {
  display: none;
}
.acc-h-nav-subwrap[data-open="false"] > .acc-h-nav-subparent .acc-h-nav-caret {
  transform: rotate(-90deg);
}
.acc-h-nav-sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0.25rem 0;
}
.acc-h-nav-sublist a {
  padding-left: 3.25rem !important;
  font-size: 0.85rem;
  font-weight: 500;
}
.acc-h-nav-sublist a.is-active {
  padding-left: calc(3.25rem - 3px) !important;
}

.acc-h-nav-cm-scroll,
.acc-h-nav-pay-scroll,
.acc-h-nav-guest-scroll,
.acc-h-nav-account-scroll,
.acc-h-nav-mp-scroll {
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-gutter: stable;
}

.acc-h-nav-sublist .acc-h-nav-subparent {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.4rem 1rem 0.4rem 3.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--acc-h-beds);
  text-decoration: none;
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  gap: 0.5rem;
}
.acc-h-nav-sublist .acc-h-nav-subparent:hover {
  background: rgba(0, 31, 63, 0.05);
}
.acc-h-nav-sublist--nested > li > a,
.acc-h-nav-sublist--nested > li > button.acc-h-nav-subparent {
  padding-left: 4.1rem !important;
}
.acc-h-nav-sublist--nested > li > a.is-active {
  padding-left: calc(4.1rem - 3px) !important;
}
.acc-h-nav-sublist--nested .acc-h-nav-sublist a {
  padding-left: 4.85rem !important;
}
.acc-h-nav-sublist--nested .acc-h-nav-sublist a.is-active {
  padding-left: calc(4.85rem - 3px) !important;
}

.acc-h-nav-cm-fallback {
  display: block;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  font-size: 0.8rem;
  color: var(--acc-h-muted);
  line-height: 1.4;
}
.acc-h-nav-cm-fallback code {
  font-size: 0.75rem;
}

.acc-h-main {
  flex: 1;
  padding: 1.75rem 2rem 3rem;
  max-width: 960px;
}

.acc-h-page-title {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.acc-h-page-lead {
  margin: 0 0 1.75rem;
  color: var(--acc-h-muted);
  font-size: 1rem;
  max-width: 52ch;
}

.acc-h-card {
  background: var(--acc-h-surface);
  border: 1px solid var(--acc-h-border);
  border-radius: var(--acc-h-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--acc-h-shadow);
}

.acc-h-card h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.acc-h-form-row {
  margin-bottom: 1rem;
}
.acc-h-form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--acc-h-muted);
  margin-bottom: 0.35rem;
}
.acc-h-form-row input[type="text"],
.acc-h-form-row input[type="number"],
.acc-h-form-row input[type="email"],
.acc-h-form-row input[type="url"],
.acc-h-form-row select,
.acc-h-form-row textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--acc-h-border);
  border-radius: var(--acc-h-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fafbfc;
}
.acc-h-form-row textarea {
  min-height: 120px;
  resize: vertical;
}
.acc-h-form-row input:focus,
.acc-h-form-row select:focus,
.acc-h-form-row textarea:focus {
  outline: none;
  border-color: var(--acc-h-accent);
  background: var(--acc-h-surface);
}

.acc-h-hint {
  font-size: 0.85rem;
  color: var(--acc-h-muted);
  margin: 0 0 1rem;
}

.acc-h-table-wrap {
  overflow-x: auto;
  border-radius: var(--acc-h-radius-sm);
  border: 1px solid var(--acc-h-border);
}
.acc-h-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.acc-h-table th,
.acc-h-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--acc-h-border);
}
.acc-h-table th {
  background: #f9fafb;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--acc-h-muted);
}
.acc-h-table tr:last-child td {
  border-bottom: none;
}

.acc-h-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(15, 118, 110, 0.12);
  color: var(--acc-h-accent);
}

/* --- Menu superior PMS (Beds24) --- */
/* z-index abaixo do nav.menu-bar do chrome da plataforma (~100) para dropdowns Pro não ficarem cortados */
.acc-h-shell .acc-h-header-stack {
  position: sticky;
  top: 0;
  z-index: 90;
}

.acc-h-header-stack .acc-h-topbar {
  position: relative;
  top: auto;
  z-index: 1;
}

.acc-h-shell--pms-topnav .acc-h-layout {
  min-height: calc(100vh - 9.75rem);
}

.acc-h-shell .acc-pms-topnav a {
  color: inherit;
  text-decoration: none;
}
.acc-h-shell .acc-pms-topnav a:hover {
  color: inherit;
  text-decoration: none;
}

.acc-pms-topnav {
  --pms-nav-bg: #162a45;
  --pms-nav-panel: #0f1f33;
  --pms-nav-pill: #0284c7;
  --pms-nav-pill-hover: #0369a1;
  font-family: var(--acc-h-font);
}

.acc-pms-topnav__vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.acc-pms-topnav__utils {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 1.25rem;
  background: var(--pms-nav-bg);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.acc-pms-topnav__logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.2rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.acc-pms-topnav__logo:hover {
  opacity: 0.92;
}
.acc-pms-topnav__logo-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.acc-pms-topnav__logo-cloud {
  font-size: 0.55rem;
  opacity: 0.95;
}
.acc-pms-topnav__logo-beds {
  color: #7dd3fc;
  font-size: 1.2rem;
}
.acc-pms-topnav__logo-24 {
  font-size: 0.95rem;
  color: #fda4af;
  font-weight: 700;
  padding-bottom: 0.05rem;
}

.acc-pms-topnav__utils-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 12rem;
}

.acc-pms-topnav__search-wrap {
  width: 100%;
  max-width: 22rem;
  position: relative;
}
.acc-pms-topnav__search {
  width: 100%;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
}
.acc-pms-topnav__search::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.acc-pms-topnav__search:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
}

.acc-pms-topnav__utils-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.acc-pms-topnav__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border: none;
  border-radius: 999px;
  background: var(--pms-nav-pill);
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.acc-pms-topnav__pill:hover {
  background: var(--pms-nav-pill-hover);
}

a.acc-pms-topnav__pill {
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.acc-pms-topnav__pill--support .acc-pms-topnav__ico--sm {
  width: 16px;
  height: 16px;
}

.acc-pms-topnav__main {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0 0.75rem;
  background: var(--pms-nav-bg);
  color: #fff;
}

.acc-pms-topnav__main-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.acc-pms-topnav__main-list > li {
  display: flex;
  align-items: stretch;
}

.acc-pms-topnav__link,
.acc-pms-topnav__link--btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.acc-pms-topnav__link:hover,
.acc-pms-topnav__link--btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.acc-pms-topnav__link--icononly {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.acc-pms-topnav__ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}
.acc-pms-topnav__ico--sm {
  width: 16px;
  height: 16px;
}

.acc-pms-topnav__caret {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
  margin-left: 0.1rem;
}

.acc-pms-topnav__dd {
  position: relative;
}
.acc-pms-topnav__dd.is-open > .acc-pms-topnav__dd-panel {
  display: block;
}
.acc-pms-topnav__dd.is-open > .acc-pms-topnav__link--btn,
.acc-pms-topnav__dd.is-open > .acc-pms-topnav__pill--support {
  background: rgba(255, 255, 255, 0.12);
}

.acc-pms-topnav__dd-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 11.5rem;
  padding: 0.35rem 0;
  margin: 0;
  background: var(--pms-nav-panel);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 120;
}
.acc-pms-topnav__utils .acc-pms-topnav__dd-panel {
  left: auto;
  right: 0;
}
.acc-pms-topnav__dd-panel--nav {
  margin-top: 0;
  border-top: 3px solid var(--pms-nav-pill);
  border-radius: 0 0 8px 8px;
}
.acc-pms-topnav__dd-panel a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  color: #fff;
}
.acc-pms-topnav__dd-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.acc-pms-topnav__dd-panel--wide {
  min-width: 17.5rem;
  max-width: 22rem;
}

.acc-pms-topnav__dd-rich {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  padding: 0.5rem 1.1rem !important;
}

.acc-pms-topnav__dd-title {
  font-weight: 600;
  line-height: 1.25;
}

.acc-pms-topnav__dd-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.72;
  line-height: 1.3;
}

.acc-pms-topnav__tools {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem 0;
  margin-left: auto;
}

.acc-pms-topnav__iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.acc-pms-topnav__iconbtn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.acc-pms-topnav__iconbtn .acc-pms-topnav__ico {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .acc-h-layout {
    flex-direction: column;
  }
  .acc-h-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--acc-h-border);
  }
  .acc-h-main {
    padding: 1.25rem 1rem 2rem;
  }
  .acc-pms-topnav__utils-center {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .acc-pms-topnav__search-wrap {
    max-width: none;
  }
  .acc-pms-topnav__main {
    padding-bottom: 0.35rem;
  }
}
