/* =========================================================
   CIELO DEL ORIENTE - Sistema de Gestión Hotelera
   Diseño Premium Dark Mode + Glassmorphism
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg-primary:    #0a0d14;
  --bg-secondary:  #0f1422;
  --bg-card:       rgba(255,255,255,0.05);
  --bg-card-hover: rgba(255,255,255,0.09);
  --glass-border:  rgba(255,255,255,0.10);
  --glass-blur:    blur(18px);

  --accent-gold:   #c9a84c;
  --accent-gold2:  #e8c97b;
  --accent-blue:   #3b82f6;
  --accent-teal:   #14b8a6;

  /* Estados habitaciones */
  --status-libre:      #10b981;
  --status-ocup:       #ef4444;
  --status-limpieza:   #f59e0b;
  --status-mant:       #6b7280;
  --status-reserva:    #8b5cf6;
  --status-libre-bg:   rgba(16,185,129,0.12);
  --status-ocup-bg:    rgba(239,68,68,0.12);
  --status-limpieza-bg:rgba(245,158,11,0.12);
  --status-mant-bg:    rgba(107,114,128,0.12);
  --status-reserva-bg: rgba(139,92,246,0.12);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-lg: 0 25px 50px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);

  --sidebar-w: 260px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 10% 0%,  rgba(201,168,76,0.08) 0%,  transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(59,130,246,0.08) 0%, transparent 50%);
}

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 99px; }

/* ─── Layout ─────────────────────────────────────────────── */
.app-wrapper   { display: flex; min-height: 100vh; }
.main-content  { flex: 1; margin-left: var(--sidebar-w); padding: 28px 32px; transition: var(--transition); }

/* ─── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-secondary);
  border-right: 1px solid var(--glass-border);
  display: flex; flex-direction: column;
  padding: 24px 16px;
  z-index: 200;
  overflow-y: auto;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 28px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 24px;
}
.sidebar-logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold2));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.sidebar-logo .logo-text { line-height: 1.2; }
.sidebar-logo .logo-title  { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.sidebar-logo .logo-sub    { font-size: 10px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .08em; }
.sidebar-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(201,168,76,0.2));
  flex-shrink: 0;
}


.sidebar-section { margin-bottom: 8px; }
.sidebar-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-muted);
  padding: 0 8px; margin-bottom: 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  cursor: pointer; color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  border: none; background: none; width: 100%; text-align: left;
}
.nav-item:hover   { background: var(--bg-card); color: var(--text-primary); }
.nav-item.active  {
  background: linear-gradient(135deg,rgba(201,168,76,0.18),rgba(201,168,76,0.06));
  color: var(--accent-gold2);
  border: 1px solid rgba(201,168,76,0.2);
}
.nav-item .nav-icon { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-footer {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.date-display {
  padding: 12px; background: var(--bg-card);
  border-radius: var(--radius-sm); text-align: center;
  border: 1px solid var(--glass-border);
}
.date-display .date-big  { font-size: 20px; font-weight: 700; color: var(--accent-gold2); }
.date-display .date-full { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

/* ─── Top Bar ─────────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.topbar-left h1 { font-size: 24px; font-weight: 700; }
.topbar-left p  { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.topbar-right   { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold2));
  color: #1a1200;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(201,168,76,0.45); }
.btn-secondary {
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover { background: var(--bg-card-hover); }
.btn-danger  { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.25); }
.btn-success { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.25); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); }

/* ─── KPI Cards ─────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-bottom: 28px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: var(--glass-blur);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.kpi-card::before {
  content: ''; position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--kpi-color, var(--accent-gold));
  transform: translate(30%, -30%);
}
.kpi-card:hover { border-color: var(--glass-border); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi-label  { font-size: 12px; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.kpi-value  { font-size: 32px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.kpi-sub    { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.kpi-icon   { position: absolute; top: 20px; right: 20px; font-size: 28px; opacity: 0.5; }
.kpi-card.ocupadas  { --kpi-color: #ef4444; }
.kpi-card.libres    { --kpi-color: #10b981; }
.kpi-card.ingresos  { --kpi-color: var(--accent-gold); }
.kpi-card.pendientes{ --kpi-color: #8b5cf6; }

/* ─── Leyenda de Estados ─────────────────────────────────── */
.status-legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
}
.legend-dot {
  width: 10px; height: 10px; border-radius: 50%;
}

/* ─── Grid de Habitaciones ────────────────────────────────── */
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.section-title { font-size: 18px; font-weight: 700; }
.section-sub   { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

.floor-group { margin-bottom: 28px; }
.floor-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.floor-title::after {
  content: ''; flex: 1; height: 1px; background: var(--glass-border);
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

/* ─── Tarjeta de Habitación ───────────────────────────────── */
.room-card {
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
  user-select: none;
}
.room-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--room-color, transparent);
  opacity: 0; transition: var(--transition);
}
.room-card:hover::before { opacity: 1; }
.room-card:hover  { border-color: var(--room-accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

.room-card.libre      { --room-color: var(--status-libre-bg);   --room-accent: var(--status-libre);    }
.room-card.ocupada    { --room-color: var(--status-ocup-bg);    --room-accent: var(--status-ocup);     }
.room-card.limpieza   { --room-color: var(--status-limpieza-bg);--room-accent: var(--status-limpieza); }
.room-card.mantenimiento{ --room-color: var(--status-mant-bg);  --room-accent: var(--status-mant);     }
.room-card.reserva    { --room-color: var(--status-reserva-bg); --room-accent: var(--status-reserva);  }

.room-card.libre       { border-color: rgba(16,185,129,0.3); }
.room-card.ocupada     { border-color: rgba(239,68,68,0.3); }
.room-card.limpieza    { border-color: rgba(245,158,11,0.3); }
.room-card.mantenimiento{ border-color: rgba(107,114,128,0.3); }
.room-card.reserva     { border-color: rgba(139,92,246,0.3); }

.room-number {
  font-size: 26px; font-weight: 800;
  line-height: 1; margin-bottom: 6px;
}
.room-type   { font-size: 11px; color: var(--text-secondary); margin-bottom: 12px; }
.room-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 99px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
}
.room-card.libre .room-status-badge       { background: rgba(16,185,129,0.15);  color: var(--status-libre);    }
.room-card.ocupada .room-status-badge     { background: rgba(239,68,68,0.15);   color: var(--status-ocup);     }
.room-card.limpieza .room-status-badge    { background: rgba(245,158,11,0.15);  color: var(--status-limpieza); }
.room-card.mantenimiento .room-status-badge{ background: rgba(107,114,128,0.15);color: var(--status-mant);     }
.room-card.reserva .room-status-badge     { background: rgba(139,92,246,0.15);  color: var(--status-reserva);  }

.room-guest  { font-size: 11px; color: var(--text-primary); margin-top: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-meta   { font-size: 10px; color: var(--text-secondary); margin-top: 3px; }
.room-pulse  {
  position: absolute; top: 12px; right: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--room-accent);
}
.room-card.ocupada .room-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

/* ─── Panel Lateral de Habitación (Drawer) ─────────────────── */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.room-drawer {
  position: fixed; top: 0; right: -480px; bottom: 0;
  width: 468px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--glass-border);
  z-index: 400;
  transition: right .35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.room-drawer.open { right: 0; }

.drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.drawer-header h2 { font-size: 22px; font-weight: 700; }
.drawer-header p  { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.drawer-close {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 8px; cursor: pointer;
  font-size: 18px; color: var(--text-secondary); line-height: 1;
  transition: var(--transition);
}
.drawer-close:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.drawer-body    { flex: 1; padding: 24px 28px; }
.drawer-footer  {
  padding: 16px 28px;
  border-top: 1px solid var(--glass-border);
  display: flex; gap: 10px;
}

/* ─── Tabs ─────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; background: var(--bg-card); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 22px; }
.tab-btn {
  flex: 1; padding: 8px; border-radius: 6px;
  border: none; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.tab-btn.active { background: var(--bg-secondary); color: var(--text-primary); box-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── Formulario ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .05em;
}
.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}
.form-control:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-control option { background: var(--bg-secondary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── Tabla de Consumos ─────────────────────────────────────── */
.consumos-table { width: 100%; border-collapse: collapse; }
.consumos-table th {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted);
  padding: 8px 10px; text-align: left; background: var(--bg-card); border-radius: 4px;
}
.consumos-table td {
  padding: 10px 10px; font-size: 13px;
  border-top: 1px solid var(--glass-border);
}
.consumos-table tr:first-child td { border-top: none; }
.consumos-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 12px; background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2); border-radius: var(--radius-sm);
  margin-top: 12px; font-weight: 700;
}
.consumos-total .total-amount { color: var(--accent-gold2); font-size: 18px; }

/* ─── Botones de acción en drawer ─────────────────────────── */
.action-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 20px;
}
.action-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 14px; cursor: pointer;
  text-align: center; transition: var(--transition);
}
.action-card:hover { background: var(--bg-card-hover); border-color: var(--accent-gold); }
.action-card .ac-icon { font-size: 22px; margin-bottom: 6px; }
.action-card .ac-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }

/* ─── Market Modal ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(6px);
  z-index: 500; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 560px; max-width: 94vw; max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(12px);
  transition: transform .3s cubic-bezier(0.4,0,0.2,1);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 22px 26px; border-bottom: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-body   { flex: 1; overflow-y: auto; padding: 22px 26px; }
.modal-footer {
  padding: 16px 26px; border-top: 1px solid var(--glass-border);
  display: flex; gap: 10px;
}

/* ─── Catálogo de Productos ─────────────────────────────────── */
.product-search {
  position: relative; margin-bottom: 16px;
}
.product-search input { padding-left: 40px; }
.product-search .search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.product-category { margin-bottom: 18px; }
.product-cat-title { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; font-weight: 600; }
.product-list { display: flex; flex-wrap: wrap; gap: 8px; }
.product-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 99px;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  cursor: pointer; font-size: 12px; font-weight: 500;
  transition: var(--transition);
}
.product-chip:hover { background: var(--bg-card-hover); border-color: var(--accent-gold); color: var(--accent-gold2); }
.product-chip .p-price { font-size: 10px; color: var(--text-muted); }
.product-chip.selected { background: rgba(201,168,76,0.15); border-color: var(--accent-gold); color: var(--accent-gold2); }

/* ─── Vista de Caja ─────────────────────────────────────────── */
.caja-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.caja-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 22px;
}
.caja-card h3 { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 16px; }
.caja-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--glass-border); font-size: 14px; }
.caja-row:last-child { border-bottom: none; }
.caja-row .amount-pos { color: #10b981; font-weight: 600; }
.caja-row .amount-neg { color: #ef4444; font-weight: 600; }
.caja-total {
  background: linear-gradient(135deg,rgba(201,168,76,0.15),rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.caja-total .ct-label { font-size: 14px; color: var(--text-secondary); }
.caja-total .ct-amount { font-size: 38px; font-weight: 800; color: var(--accent-gold2); }

/* ─── Log de Movimientos ─────────────────────────────────────── */
.movimiento-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--glass-border);
}
.movimiento-item:last-child { border-bottom: none; }
.mov-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.mov-icon.ingreso  { background: rgba(16,185,129,0.15);  }
.mov-icon.egreso   { background: rgba(239,68,68,0.15);   }
.mov-icon.bebida   { background: rgba(59,130,246,0.15);  }
.mov-info { flex: 1; }
.mov-desc { font-size: 13px; font-weight: 500; }
.mov-meta { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.mov-amount { font-size: 14px; font-weight: 700; }
.mov-amount.pos { color: #10b981; }
.mov-amount.neg { color: #ef4444; }

/* ─── Toast / Notificación ──────────────────────────────────── */
.toast-container { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-secondary); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 14px 20px;
  min-width: 280px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); font-size: 13px;
  animation: slideUp .3s cubic-bezier(0.4,0,0.2,1);
}
.toast.success { border-left: 3px solid #10b981; }
.toast.error   { border-left: 3px solid #ef4444; }
.toast.info    { border-left: 3px solid var(--accent-gold); }
@keyframes slideUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* ─── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; padding: 2px 9px;
  border-radius: 99px; font-size: 10px; font-weight: 700;
}
.badge-gold    { background:rgba(201,168,76,0.2); color:var(--accent-gold2); }
.badge-blue    { background:rgba(59,130,246,0.2); color:#60a5fa; }
.badge-green   { background:rgba(16,185,129,0.2); color:#34d399; }
.badge-red     { background:rgba(239,68,68,0.2);  color:#f87171; }
.badge-purple  { background:rgba(139,92,246,0.2); color:#a78bfa; }

/* ─── Vista de Checkout ─────────────────────────────────────── */
.checkout-summary {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 18px;
  margin-bottom: 18px;
}
.checkout-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px solid var(--glass-border); }
.checkout-row:last-child { border-bottom:none; font-weight: 700; color: var(--accent-gold2); font-size: 15px; }

.pago-method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.pago-method-btn {
  padding: 10px 8px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1.5px solid var(--glass-border);
  color: var(--text-secondary); font-size: 12px; font-weight: 600;
  cursor: pointer; text-align: center; transition: var(--transition);
}
.pago-method-btn:hover, .pago-method-btn.selected { border-color: var(--accent-gold); color: var(--accent-gold2); background: rgba(201,168,76,0.1); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px 16px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .room-drawer { width: 100%; right: -100%; }
  .caja-grid { grid-template-columns: 1fr; }
}

/* ─── Skeleton Loader ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ─── Inputs de conteo de cantidad ─────────────────────────── */
.qty-control { display:flex; align-items:center; gap:8px; }
.qty-btn { width:28px;height:28px;border-radius:50%;border:1px solid var(--glass-border);background:var(--bg-card);color:var(--text-primary);font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:var(--transition); }
.qty-btn:hover { background:var(--bg-card-hover); }
.qty-value { width:36px;text-align:center;font-weight:600;font-size:14px; }

/* ─── Utilidades ─────────────────────────────────────────────── */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.gap-sm       { gap: 8px; }
.gap-md       { gap: 14px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-gold  { color: var(--accent-gold2); }
.text-muted { color: var(--text-secondary); }
.text-sm    { font-size: 13px; }
.text-xs    { font-size: 11px; }
.fw-700     { font-weight: 700; }
.mt-8       { margin-top: 8px; }
.mt-16      { margin-top: 16px; }
.mt-24      { margin-top: 24px; }
.w-full     { width: 100%; }
.hidden     { display: none !important; }
.admin-only { transition: opacity 0.3s; }
.role-recepcionista .admin-only { display: none !important; }
.divider    { height: 1px; background: var(--glass-border); margin: 16px 0; }


/* ─── Login Screen ───────────────────────────────────────────── */
.login-wrapper {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  background-image:
    radial-gradient(ellipse at 50% 0%,  rgba(201,168,76,0.15) 0%,  transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(59,130,246,0.1) 0%, transparent 60%);
}
.login-card {
  width: 100%; max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-logo {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.3));
}
.login-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.login-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.login-form .form-group { text-align: left; }
.login-btn { margin: 12px auto 0; width: auto; min-width: 160px; padding: 10px 30px; font-size: 14px; display: block; }

/* ─── Developer Credits ───────────────────────────────────────── */
.developer-credit-fixed {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: 'Consolas', 'Monaco', monospace;
  letter-spacing: 0.02em;
  z-index: 10;
}
.developer-credit-sidebar {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  font-family: 'Consolas', 'Monaco', monospace;
}
.brand-text {
  color: #ffffff;
  font-weight: 700;
}
