/* THRev Console V0.34 — internal application shell on Flat Able Bootstrap 5. */
:root{
  --threv-console-bg:#f5f7fb;
  --threv-console-sidebar:#111827;
  --threv-console-card:#fff;
  --threv-console-border:#e6eaf0;
}
body{background:var(--threv-console-bg)}
.pc-sidebar{background:var(--threv-console-sidebar)}
.pc-sidebar .navbar-content{padding-bottom:32px}
.threv-brand-name{letter-spacing:-.02em}
.threv-nav-disabled{opacity:.45;pointer-events:none}
.threv-console-context{display:flex;gap:8px;align-items:center;min-width:420px}
.threv-console-context select{height:36px;border:1px solid var(--threv-console-border);border-radius:9px;background:#fff;color:#334155;padding:0 30px 0 10px;font-size:13px;max-width:230px}
.threv-console-context #consoleCompany{min-width:170px}
.threv-console-context #consoleHotel{min-width:210px}
.threv-user-button{display:flex;align-items:center;gap:8px;border:1px solid var(--threv-console-border)}
.threv-user-avatar{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(var(--threv-brand-primary-rgb),.12);color:var(--threv-brand-primary);font-size:12px;font-weight:800}
.threv-env-badge{font-size:10px;letter-spacing:.05em}
.threv-page-heading{min-height:64px}
.threv-console-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.threv-console-kpi{background:var(--threv-console-card);border:1px solid var(--threv-console-border);border-radius:14px;padding:18px;min-width:0;box-shadow:0 2px 12px rgba(15,23,42,.035)}
.threv-console-kpi .label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:700}
.threv-console-kpi .label i{font-size:21px;color:var(--threv-brand-primary)}
.threv-console-kpi .value{font-size:28px;line-height:1.1;font-weight:780;letter-spacing:-.035em;margin-top:10px;color:#111827}
.threv-console-kpi .meta{font-size:12px;color:#64748b;margin-top:7px}
.threv-console-section-title{font-size:16px;font-weight:750;margin:0}
.threv-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.threv-module-card{display:flex;gap:13px;align-items:flex-start;padding:16px;border:1px solid var(--threv-console-border);border-radius:13px;background:#fff;color:#1f2937;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.threv-module-card:hover{transform:translateY(-1px);border-color:#cbd5e1;box-shadow:0 8px 24px rgba(15,23,42,.06);color:#111827}
.threv-module-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:rgba(var(--threv-brand-primary-rgb),.09);color:var(--threv-brand-primary);font-size:20px}
.threv-module-card strong{display:block;font-size:14px}.threv-module-card small{display:block;margin-top:4px;color:#64748b;line-height:1.45}
.threv-status-list{display:grid;gap:10px}.threv-status-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef1f4}.threv-status-row:last-child{border-bottom:0}
.threv-status-name{font-size:13px;font-weight:650}.threv-status-meta{font-size:12px;color:#64748b;margin-top:2px}.threv-status-badge{height:max-content}
.threv-clone-banner{border:1px solid #fedf89;background:#fffcf5;border-radius:12px;padding:12px 14px;color:#854a0e;font-size:13px;display:flex;gap:10px;align-items:flex-start}
.threv-clone-banner i{font-size:20px;flex:0 0 auto}
.threv-login-body{min-height:100vh;background:radial-gradient(circle at top right,rgba(var(--threv-brand-primary-rgb),.12),transparent 34%),#f5f7fb;display:grid;place-items:center;padding:24px}
.threv-login-wrap{width:min(100%,430px)}
.threv-login-brand{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:18px;color:#111827;font-size:21px;font-weight:800}
.threv-login-card{border:1px solid var(--threv-console-border);border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.08);padding:28px}
.threv-login-card h1{font-size:25px;letter-spacing:-.035em;margin:0}.threv-login-card .sub{color:#64748b;margin:7px 0 22px}
.threv-login-card label{font-size:13px;font-weight:650;color:#475569;margin-bottom:14px}.threv-login-card input{margin-top:6px}
.threv-login-foot{text-align:center;color:#94a3b8;font-size:11px;margin-top:14px}
@media(max-width:1199.98px){.threv-console-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.threv-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.threv-console-context{min-width:0}.threv-console-context #consoleCompany{min-width:140px}.threv-console-context #consoleHotel{min-width:170px}}
@media(max-width:767.98px){.threv-console-context{display:none}.threv-console-grid,.threv-module-grid{grid-template-columns:1fr}.threv-page-heading{min-height:0}}

/* V0.34.1 — one Console shell for legacy functional modules. */
.threv-brand-logo-wrap{display:inline-flex;align-items:center;max-width:150px;min-width:34px;height:42px}
.threv-brand-logo{display:block;max-width:145px;max-height:38px;width:auto;height:auto;object-fit:contain}
.threv-brand-logo-wrap.login{height:54px;max-width:210px}
.threv-brand-logo-wrap.login .threv-brand-logo{max-width:205px;max-height:52px}
body[data-pc-sidebar-theme="light"] .pc-sidebar{background:#fff!important}
body[data-pc-sidebar-theme="light"] .threv-brand{color:#111827}
body[data-pc-sidebar-theme="light"] .threv-product-tag{color:#64748b;border-color:#e2e8f0}

.threv-console-module{min-width:0}
.threv-console-module .wrap,
.threv-console-module main.wrap,
.threv-console-module .performance-wrap{width:100%;max-width:none;margin:0;padding:0}
.threv-console-module > main:first-child{margin-top:0}
.threv-console-module .topbar,
.threv-console-module .topbar-context{display:none!important}
.threv-console-module .card{border:1px solid var(--threv-console-border);border-radius:14px;box-shadow:0 2px 12px rgba(15,23,42,.035);background:#fff}
.threv-console-module .page-title{letter-spacing:-.025em}
.threv-console-module .section-title{letter-spacing:-.015em}
.threv-console-module .table-scroll{border-radius:10px;max-width:100%;overflow:auto}
.threv-console-module table{background:#fff}
.threv-console-module th{white-space:nowrap}
.threv-console-module input:not([type="checkbox"]):not([type="radio"]),
.threv-console-module select,
.threv-console-module textarea{border-radius:8px;border-color:#dbe2ea}
.threv-console-module button.primary,
.threv-console-module .btn.primary{background:var(--threv-brand-primary)!important;border-color:var(--threv-brand-primary)!important;color:#fff!important}
.threv-console-module button.primary:hover,
.threv-console-module .btn.primary:hover{background:var(--threv-brand-strong)!important;border-color:var(--threv-brand-strong)!important}
.threv-console-module button.secondary,
.threv-console-module .btn.secondary{background:#eef2f6;color:#334155;border-color:#e2e8f0}
.threv-console-module a{color:var(--threv-brand-strong)}
.threv-console-module .eyebrow{color:var(--threv-brand-strong)}
.threv-console-module .metric-card{border-color:var(--threv-console-border)}
.threv-console-module .analytics-message{border-radius:12px}
.threv-console-module .performance-tabs .performance-tab.active{color:var(--threv-brand-strong);border-color:var(--threv-brand-primary)}

/* Data Core historically had global header/main CSS. The Console version is scoped. */
.threv-module-data-core .data-core-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.threv-module-data-core .data-core-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* Branding settings preview. */
.threv-brand-preview{min-height:150px;border:1px solid var(--threv-console-border);border-radius:14px;padding:22px;background:#111827;display:flex;align-items:center;justify-content:center}
.threv-brand-preview.light{background:#fff}
.threv-brand-preview .preview-brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:20px;font-weight:800}
.threv-brand-preview.light .preview-brand{color:#111827}
.threv-color-swatch{width:42px;height:42px;border-radius:12px;border:1px solid rgba(0,0,0,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.threv-settings-note{border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;border-radius:12px;padding:12px 14px;font-size:13px}
@media print{
  .pc-sidebar,.pc-header,.threv-page-heading{display:none!important}
  .pc-container{margin-left:0!important}
  .pc-container .pc-content{padding:0!important}
  .threv-console-module .card{box-shadow:none!important;break-inside:avoid}
}
.threv-console-module{background:transparent!important;color:#1d2733}
.threv-console-module a:hover{text-decoration:none}

/* V0.34.2 — THRev-owned responsive sidebar controller. */
body.threv-mobile-menu-open{overflow:hidden}
.threv-sidebar-overlay{
  position:fixed;
  inset:0;
  z-index:1028;
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:rgba(15,23,42,.48);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  cursor:default;
}
@media(max-width:1024px){
  .pc-sidebar{z-index:1029}
  .pc-sidebar.mob-sidebar-active{left:0!important;box-shadow:12px 0 34px rgba(15,23,42,.22)}
  .pc-sidebar .navbar-content{height:calc(100vh - 74px);overflow-y:auto;overscroll-behavior:contain}
  #mobile-collapse{position:relative;z-index:1}
}
