/* ============================================================
   LOONTRACK - Main Stylesheet
   Municipality of Loon, Bohol
   ============================================================ */

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

/* ── CSS Variables — Executive Slate ───────────────────────── */
:root {
  /* Primary palette */
  --primary:        #0f4c81;       /* primary-container */
  --primary-light:  #2d6197;       /* surface-tint */
  --primary-dark:   #00355f;       /* primary */

  /* Accent / secondary */
  --accent:         #ffa032;       /* secondary-container */
  --accent-dark:    #8b5000;       /* secondary */
  --accent-light:   #ffb870;       /* secondary-fixed-dim */

  /* Success / tertiary */
  --success:        #005539;       /* tertiary-container */
  --success-light:  #3dd197;       /* on-tertiary-container */

  /* Error */
  --danger:         #ba1a1a;       /* error */
  --warning:        #8b5000;
  --info:           #2d6197;

  /* Layout */
  --sidebar-width:           260px;
  --sidebar-collapsed-width: 76px;
  --topbar-height:           64px;

  /* Surfaces */
  --bg-main:        #eff4ff;       /* surface-container-low */
  --bg-card:        #ffffff;       /* surface-container-lowest */
  --bg-sidebar:     #00355f;       /* primary */

  /* Text */
  --text-main:      #0b1c30;       /* on-surface */
  --text-muted:     #42474f;       /* on-surface-variant */
  --text-light:     #727780;       /* outline */
  --text-sidebar:   rgba(255,255,255,0.88);

  /* Borders */
  --border:         #c2c7d1;       /* outline-variant */

  /* Elevation — ambient only, no coloured tints */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(194,199,209,0.55);
  --shadow-md:      0 4px 12px rgba(0,53,95,0.10);
  --shadow-lg:      0 12px 32px rgba(0,53,95,0.15);

  /* Shape — rounded-lg = 8px standard */
  --radius:         0.5rem;        /* 8px — standard cards, buttons, inputs */
  --radius-sm:      0.375rem;      /* 6px — small tags, checkboxes */
  --radius-lg:      0.75rem;       /* 12px — modals, login card */

  --transition:     all 0.2s ease;
  --font-main:      'Inter', sans-serif;
  --font-display:   'Inter', sans-serif;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 14px;
  line-height: 20px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography — Inter scale ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;        /* headline-lg ~24px */
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 32px;
  color: var(--text-main);
}
.section-label {
  font-size: 0.75rem;       /* label-bold 12px */
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 1.2rem 1.2rem 0.4rem;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,76,129,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,76,129,0.4); }

/* ── Layout Wrapper ─────────────────────────────────────────── */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0a2d55 60%, #07203d 100%);
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Sidebar brand area */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  flex-shrink: 0;
}
.sidebar-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-brand-text {
  overflow: hidden;
}
.sidebar-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  display: block;
}
.sidebar-brand-sub {
  font-size: 0.64rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Sidebar nav */
.sidebar-nav {
  padding: 8px 0;
  flex: 1;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  color: var(--text-sidebar);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 0;
  position: relative;
  margin: 1px 10px;
  border-radius: 8px;
}
.sidebar-nav a i {
  width: 20px;
  font-size: 1rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  transition: var(--transition);
}
.sidebar-nav a:hover {
  background: rgba(255,255,255,0.07);
  color: #ffffff;
}
.sidebar-nav a:hover i { color: var(--accent); }
.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(232,160,32,0.2), rgba(232,160,32,0.05));
  color: #ffffff;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  margin-left: 0;
  padding-left: 25px;
}
.sidebar-nav a.active i { color: var(--accent); }

/* Sidebar footer */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.sidebar-footer .admin-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.admin-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.admin-role {
  font-size: 0.68rem;
  color: var(--accent-light);
}
.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px;
  background: rgba(231,76,60,0.15);
  color: #ff8a80;
  border: 1px solid rgba(231,76,60,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-logout:hover {
  background: rgba(231,76,60,0.3);
  color: #fff;
  border-color: rgba(231,76,60,0.5);
}

/* ══════════════════════════════════════════════════════════════
   COLLAPSIBLE / RESIZABLE SIDEBAR (desktop)
══════════════════════════════════════════════════════════════ */
.nav-text { white-space: nowrap; }

/* Drag handle pinned to the sidebar's right edge */
.sidebar-resizer {
  position: fixed;
  top: 0; bottom: 0;
  left: var(--sidebar-width);
  width: 8px;
  margin-left: -4px;
  cursor: ew-resize;
  z-index: 1001;
}
.sidebar-resizer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: transparent;
  transition: background 0.2s ease;
}
.sidebar-resizer:hover::after { background: var(--accent); }
body.sidebar-collapsed .sidebar-resizer { left: var(--sidebar-collapsed-width); }
@media (max-width: 991px) { .sidebar-resizer { display: none; } }

/* While actively dragging, kill the transition so the edge tracks the cursor 1:1 */
body.sidebar-resizing .sidebar,
body.sidebar-resizing .main-content,
body.sidebar-resizing .sidebar-resizer { transition: none !important; }

@media (min-width: 992px) {
  body.sidebar-collapsed .sidebar       { width: var(--sidebar-collapsed-width); }
  body.sidebar-collapsed .main-content  { margin-left: var(--sidebar-collapsed-width); }

  /* Hide all text, keep icons */
  body.sidebar-collapsed .sidebar-brand-text,
  body.sidebar-collapsed .section-label,
  body.sidebar-collapsed .nav-text,
  body.sidebar-collapsed .admin-meta { display: none; }

  body.sidebar-collapsed .sidebar-brand { justify-content: center; padding: 20px 0; gap: 0; }

  body.sidebar-collapsed .sidebar-nav a {
    justify-content: center;
    gap: 0;
    margin: 1px 8px;
    padding: 12px 0;
  }
  body.sidebar-collapsed .sidebar-nav a i { color: rgba(255,255,255,0.7); }
  body.sidebar-collapsed .sidebar-nav a.active {
    border-left: none;
    border-radius: 8px;
    padding-left: 0;
    margin-left: 8px;
  }
  body.sidebar-collapsed .sidebar-nav a.active i { color: var(--accent); }

  body.sidebar-collapsed .sidebar-footer { padding: 14px 8px; }
  body.sidebar-collapsed .admin-info     { justify-content: center; margin-bottom: 8px; }
  body.sidebar-collapsed .btn-logout     { gap: 0; padding: 9px 0; }
}

/* ══════════════════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════════════════ */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: var(--transition);
}

/* ── Top Bar ────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 0 var(--border);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-sidebar-toggle {
  background: none;
  border: none;
  padding: 6px 8px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-sidebar-toggle:hover { background: var(--bg-main); color: var(--primary); }
.topbar-title {
  font-size: 0.875rem;      /* body-md */
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0;
}
.topbar-breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar-date i { color: var(--primary); }

/* ── Page Content ───────────────────────────────────────────── */
.page-content {
  padding: 22px 24px;
  flex: 1;
}
.page-header {
  margin-bottom: 18px;
}
.page-header .page-title { margin-bottom: 4px; }
.page-subtitle {
  font-size: 0.875rem;      /* body-md */
  line-height: 20px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Footer ─────────────────────────────────────────────────── */
.app-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-footer .footer-logo {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
}

/* ══════════════════════════════════════════════════════════════
   STAT CARDS
══════════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 20px 20px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--card-color, var(--primary));
  display: block;
  transition: var(--transition);
}
.stat-card:hover {
  background: #f8f9ff;
  box-shadow: var(--shadow-md);
}
.stat-body {}
.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.875rem;      /* body-md 14px */
  font-weight: 400;
  line-height: 20px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.stat-badge {
  font-size: 0.75rem;       /* label-bold 12px */
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* ── Card Colors ────────────────────────────────────────────── */
.card-blue    { --card-color: var(--primary); }
.card-gold    { --card-color: var(--accent); }
.card-green   { --card-color: var(--success); }
.card-teal    { --card-color: #1abc9c; }
.card-purple  { --card-color: #9b59b6; }
══════════════════════════════════════════════════════════════ */
.lt-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.lt-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
}
.lt-card-title {
  font-size: 0.875rem;      /* title-md */
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
}
.lt-card-title i { color: var(--primary); }
.lt-card-body { padding: 20px; }
.lt-card-body.p-0 { padding: 0; }

/* ══════════════════════════════════════════════════════════════
   DATA TABLE
══════════════════════════════════════════════════════════════ */
.lt-table {
  width: 100%;
  border-collapse: collapse;
}
.lt-table thead th {
  background: #f8f9ff;      /* surface-container-low tint */
  color: var(--text-muted);
  font-size: 0.75rem;       /* label-bold 12px */
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lt-table tbody td {
  padding: 0 16px;
  min-height: 52px;
  height: 52px;
  border-bottom: 1px solid #e5eeff;  /* surface-container */
  font-size: 0.875rem;               /* body-md 14px */
  line-height: 20px;
  vertical-align: middle;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}
.lt-table tbody tr:last-child td { border-bottom: none; }
.lt-table tbody tr:hover { background: #eff4ff; }  /* surface-container-low on hover */
.lt-table .col-actions { text-align: right; white-space: nowrap; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge-lt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);  /* 6px — slightly squared */
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-blue    { background: rgba(15,76,129,0.08);  color: #07497d; }
.badge-gold    { background: rgba(139,80,0,0.10);   color: #8b5000; }
.badge-green   { background: rgba(0,85,57,0.10);    color: #005236; }
.badge-red     { background: rgba(186,26,26,0.10);  color: #ba1a1a; }
.badge-teal    { background: rgba(0,60,39,0.10);    color: #005236; }
.badge-purple  { background: rgba(90,50,150,0.10);  color: #5a3296; }
.badge-gray    { background: rgba(66,71,79,0.08);   color: var(--text-muted); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary-lt {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 18px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 0.8125rem;     /* body-sm 13px */
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-main);
  letter-spacing: 0.01em;
}
.btn-primary-lt:hover { background: var(--primary-light); color: #fff; }
.btn-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
}
.btn-view  { background: rgba(52,152,219,0.1); color: #2980b9; }
.btn-edit  { background: rgba(232,160,32,0.12); color: #b07a00; }
.btn-delete{ background: rgba(231,76,60,0.1); color: var(--danger); }
.btn-icon:hover { opacity: 0.75; transform: scale(1.1); }

/* ── Forms ───────────────────────────────────────────────────── */
.lt-input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.875rem;
  line-height: 20px;
  color: var(--text-main);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.lt-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.12);
}
textarea.lt-input,
select.lt-input { height: auto; padding-top: 10px; padding-bottom: 10px; }
.lt-label {
  display: block;
  font-size: 0.75rem;       /* label-bold 12px */
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-main);
  margin-bottom: 5px;
}
.search-bar {
  position: relative;
}
.search-bar input {
  padding-left: 36px;
}
.search-bar i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Rating Stars ────────────────────────────────────────────── */
.stars { color: var(--accent); letter-spacing: 1px; }

/* ── Visit Timeline ──────────────────────────────────────────── */
.checkin-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  margin-right: 5px;
}
.checkout-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger);
  display: inline-block;
  margin-right: 5px;
}

/* ══════════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════════ */
.modal-content {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,53,95,0.15);
}
.modal-header { border-bottom: 1px solid var(--border); padding: 16px 20px; }
.modal-footer { border-top: 1px solid var(--border); padding: 14px 20px; }
.modal-title  { font-size: 0.95rem; font-weight: 600; color: var(--text-main); letter-spacing: -0.01em; }

/* ══════════════════════════════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Loon Municipal Hall photo behind a navy tint so the card stays readable.
     If the photo is missing, the solid color + gradient still look right. */
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(135deg, rgba(10, 29, 58, 0.55) 0%, rgba(10, 45, 85, 0.40) 50%, rgba(15, 76, 129, 0.48) 100%),
    url('../images/login-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(232,160,32,0.06);
  top: -200px; right: -200px;
  pointer-events: none;
}
.login-page::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -150px; left: -100px;
  pointer-events: none;
}
.login-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}
.login-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo {
  width: 116px; height: 116px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22), 0 0 0 5px rgba(255,255,255,0.85);
  filter: drop-shadow(0 2px 8px rgba(0,53,95,0.18));
}
.login-system-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-top: 14px;
  line-height: 1.2;
}
.login-system-name span {
  display: block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
}
.login-card .lt-label { color: var(--text-main); }
.login-input-wrap {
  position: relative;
}
.login-input-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.login-input-wrap input {
  padding-left: 38px;
}
/* Show/hide password eye button (sits inside the field, right side) */
.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 6px 8px;
  cursor: pointer;
  line-height: 1;
}
/* Undo the wrap's left-icon positioning for the eye inside the button. */
.login-input-wrap .pw-toggle i {
  position: static;
  left: auto;
  top: auto;
  transform: none;
}
.pw-toggle:hover { color: var(--primary); }
.login-input-wrap input.has-toggle { padding-right: 44px; }

/* ── Page loader: round Loon Tourism logo inside a spinning ring ── */
.lt-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity .35s ease;
}
.lt-loader.done { opacity: 0; pointer-events: none; }
.lt-loader-ring { position: relative; width: 116px; height: 116px; }
.lt-loader-ring img {
  position: absolute;
  inset: 12px;
  width: 92px;
  height: 92px;
  border-radius: 50%;          /* round-crop the logo */
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(13, 31, 60, .18);
}
.lt-loader-ring::before {       /* the circular spinner */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid rgba(13, 31, 60, .12);
  border-top-color: var(--accent, #e8a020);
  animation: ltSpin .9s linear infinite;
}
@keyframes ltSpin { to { transform: rotate(360deg); } }
.lt-loader-text {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-muted);
}

/* ── Logout confirmation modal (self-contained, no Bootstrap needed) ── */
.lt-logout-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 31, 60, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lt-logout-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 24px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  animation: ltPop .18s ease-out;
}
@keyframes ltPop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lt-logout-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  display: flex; align-items: center; justify-content: center;
}
.lt-logout-title { font-size: 1.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 6px; }
.lt-logout-msg { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.lt-logout-actions { display: flex; gap: 10px; }
.lt-logout-actions .lt-btn-cancel {
  flex: 1; padding: 11px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text-main); font-weight: 700; font-size: .88rem;
  font-family: var(--font-main); cursor: pointer;
}
.lt-logout-actions .lt-btn-cancel:hover { background: var(--bg-light, #f3f4f6); }
.lt-logout-actions .lt-btn-logout {
  flex: 1; padding: 11px; border-radius: 999px; border: none;
  background: #dc3545; color: #fff; font-weight: 700; font-size: .88rem;
  font-family: var(--font-main); cursor: pointer;
}
.lt-logout-actions .lt-btn-logout:hover { background: #c82333; }

/* ── Generic confirmation modal (replaces native confirm()) ── */
.lt-confirm-overlay {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(13, 31, 60, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lt-confirm-card {
  background: #fff; border-radius: 18px; padding: 26px 26px 22px;
  width: 100%; max-width: 380px; text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  animation: ltPop .18s ease-out;
}
.lt-confirm-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 76, 129, 0.10); color: var(--primary);
}
.lt-confirm-card.is-danger .lt-confirm-icon { background: rgba(220, 53, 69, 0.1); color: #dc3545; }
.lt-confirm-title { font-size: 1.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 6px; }
.lt-confirm-msg {
  font-size: .88rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.55;
  white-space: pre-line;            /* render \n as line breaks */
  text-align: left;
}
.lt-confirm-actions { display: flex; gap: 10px; }
.lt-confirm-actions .lt-btn-cancel {
  flex: 1; padding: 11px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text-main); font-weight: 700; font-size: .88rem;
  font-family: var(--font-main); cursor: pointer;
}
.lt-confirm-actions .lt-btn-cancel:hover { background: var(--bg-light, #f3f4f6); }
.lt-confirm-actions .lt-btn-confirm {
  flex: 1; padding: 11px; border-radius: 999px; border: none;
  background: var(--primary); color: #fff; font-weight: 700; font-size: .88rem;
  font-family: var(--font-main); cursor: pointer;
}
.lt-confirm-actions .lt-btn-confirm:hover { background: var(--primary-dark); }
.lt-confirm-card.is-danger .lt-confirm-actions .lt-btn-confirm { background: #dc3545; }
.lt-confirm-card.is-danger .lt-confirm-actions .lt-btn-confirm:hover { background: #c82333; }

.btn-login {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-login:hover {
  box-shadow: 0 6px 20px rgba(15,76,129,0.4);
  transform: translateY(-1px);
}
.login-footer-text {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 22px;
  line-height: 1.6;
}
.alert-error {
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.25);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════
   CHARTS
══════════════════════════════════════════════════════════════ */
.chart-container { position: relative; }

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state i {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 12px;
  display: block;
}
.empty-state p { font-size: 0.875rem; }

/* ══════════════════════════════════════════════════════════════
   SPOT CATEGORY BADGE
══════════════════════════════════════════════════════════════ */
.cat-Heritage  { background: rgba(155,89,182,0.1); color: #7d3c98; }
.cat-Beach     { background: rgba(26,188,156,0.1); color: #148f77; }
.cat-Church    { background: rgba(232,160,32,0.12); color: #9c6a00; }
.cat-Festival  { background: rgba(231,76,60,0.1); color: #c0392b; }
.cat-Nature    { background: rgba(46,204,113,0.12); color: #1e8449; }
.cat-Museum    { background: rgba(52,152,219,0.12); color: #1a5276; }
.cat-Other     { background: rgba(108,117,125,0.1); color: #596470; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0,0,0,0.3);
  }
  .main-content {
    margin-left: 0;
  }
  .btn-sidebar-toggle { display: flex; }
  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .overlay.show { display: block; }
}
@media (max-width: 767px) {
  .page-content { padding: 16px 14px; }
  .topbar { padding: 0 16px; }
  .login-card { padding: 32px 22px; }
  .stat-value { font-size: 1.4rem; }
  /* Comfortable touch targets + full-width primary actions on phones */
  .btn-primary-lt, .btn-login { min-height: 46px; }
  .owner-hero .btn-primary-lt,
  .scan-fullwidth .btn-primary-lt,
  .scan-fullwidth .btn-light { width: 100%; }
  .lt-input, select.lt-input { min-height: 44px; }
}

/* ══════════════════════════════════════════════════════════════
   OWNER / STAFF MOBILE-FIRST (workshop)
══════════════════════════════════════════════════════════════ */

/* Hero action block: big Scan button + the 3 key stats */
.owner-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.owner-hero .owner-hero-scan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1rem;
  padding: 14px 18px;
}
.owner-hero .owner-hero-scan i { font-size: 1.15rem; }
.owner-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.owner-stat {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
}
.owner-stat .owner-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.owner-stat .owner-stat-label {
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* Collapsible sections (native <details>) for Rooms / Staff / More */
.lt-collapse {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 14px;
  overflow: hidden;
}
.lt-collapse > summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg-card);
}
.lt-collapse > summary::-webkit-details-marker { display: none; }
.lt-collapse > summary::after {
  content: '\f078'; /* chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.lt-collapse[open] > summary::after { transform: rotate(180deg); }
.lt-collapse > summary .lt-collapse-count {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: auto;
  margin-right: 4px;
}
.lt-collapse-body { padding: 4px 16px 16px; }

/* Responsive "stacked card" tables: turn rows into cards on phones */
@media (max-width: 767px) {
  table.lt-stack thead { display: none; }
  table.lt-stack, table.lt-stack tbody { display: block; width: 100%; }
  table.lt-stack tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 10px;
    background: var(--bg-card);
  }
  table.lt-stack td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: none;
    padding: 5px 0;
    height: auto;          /* release the fixed 52px row height from .lt-table */
    min-height: 0;
    text-align: right;
  }
  table.lt-stack td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    text-align: left;
    flex-shrink: 0;
  }
  /* Rows whose cell has no label (e.g. the action button) span full width */
  table.lt-stack td[data-label=""] { justify-content: flex-end; }

  /* Recent activity: same stacked card, just tighter (less height per record). */
  table.lt-stack-tight tr { padding: 7px 11px; margin-bottom: 8px; }
  table.lt-stack-tight td { padding: 2px 0; font-size: .82rem; }
  table.lt-stack-tight td::before { font-size: .68rem; }

  /* Rooms: one compact line per room — number | status | delete. */
  table.lt-rooms-stack thead { display: none; }
  table.lt-rooms-stack,
  table.lt-rooms-stack tbody { display: block; width: 100%; }
  table.lt-rooms-stack tr {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 8px;
    background: var(--bg-card);
  }
  table.lt-rooms-stack td { border: none; padding: 0; height: auto; min-height: 0; }
  table.lt-rooms-stack td[data-label="Room"] { font-weight: 700; white-space: nowrap; }
  table.lt-rooms-stack td[data-label="Room"]::before {
    content: "Room ";
    font-weight: 600;
    color: var(--text-muted);
  }
  table.lt-rooms-stack td[data-label="Status"] { margin-left: auto; }   /* push status + delete right */
  table.lt-rooms-stack td[data-label="Status"] .lt-input { width: auto; }
}

/* ── Mobile bottom navigation (owner / venue_staff only) ─────── */
.mobile-bottomnav { display: none; }
@media (max-width: 991px) {
  .mobile-bottomnav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 14px rgba(15,76,129,0.10);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bottomnav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 4px;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
  }
  .mobile-bottomnav a i { font-size: 1.15rem; }
  .mobile-bottomnav a.active { color: var(--primary); }
  /* Clear the bar so content/footer aren't hidden behind it */
  body.has-bottomnav .main-content { padding-bottom: 72px; }
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.4s ease both;
}
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.2s; }

/* ══════════════════════════════════════════════════════════════
   ACCOMMODATION TYPE BADGES (Add-on)
══════════════════════════════════════════════════════════════ */
/* Flat type label in the Accommodations table: keep per-type colour, drop the pill background + icon. */
.acc-type { background: transparent !important; padding: 0; font-weight: 600; }
.acc-Apartment     { background: rgba(52,152,219,0.12);  color: #1a5276; }
.acc-Hotel         { background: rgba(15,76,129,0.10);   color: #0b3d6e; }
.acc-Resort        { background: rgba(26,188,156,0.10);  color: #148f77; }
.acc-Homestay      { background: rgba(232,160,32,0.12);  color: #9c6a00; }
.acc-Pension-House { background: rgba(155,89,182,0.10);  color: #7d3c98; }
.acc-Other         { background: rgba(108,117,125,0.10); color: #596470; }

/* ── Extra Badge Colors (Add-on) ────────────────────────────── */
.badge-purple { background: rgba(90,50,150,0.10); color: #5a3296; }
.badge-red    { background: rgba(231,76,60,0.1);  color: #c0392b; }

/* ── Super Admin Highlight ──────────────────────────────────── */
.superadmin-zone {
  border-left: 4px solid var(--accent);
  background: rgba(232,160,32,0.04);
}

/* ══════════════════════════════════════════════════════════════
   STAFF NOTICE BAR
══════════════════════════════════════════════════════════════ */
.staff-notice-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(15,76,129,0.06);
  border: 1px solid rgba(15,76,129,0.18);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 11px 16px;
  font-size: 0.84rem;
  color: var(--text-main);
  margin-bottom: 18px;
  line-height: 1.5;
}
.staff-notice-bar i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.staff-notice-bar strong { color: var(--primary-dark); }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD SECTION GROUPS (v4)
══════════════════════════════════════════════════════════════ */
.section-group { }
/* 5-equal-card row: prevent cards from collapsing too narrow */
.stat-row-5 > .col { min-width: 140px; }
.section-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.section-group-label i { color: var(--primary); font-size: 0.85rem; }

/* ── Accommodation Feedback Page Tabs ───────────────────────── */
.feedback-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.feedback-tab-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  font-family: var(--font-main);
}
.feedback-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.feedback-tab-btn:hover:not(.active) { color: var(--primary-light); }
.feedback-panel { display: none; }
.feedback-panel.active { display: block; }

/* ── Activity Status Badges ─────────────────────────────────── */
.status-ongoing  { background: rgba(46,204,113,.12); color: #1e8449; }
.status-completed{ background: rgba(108,117,125,.1); color: #596470; }

/* ════════════════════════════════════════════════════════════
   Recent Activity — dense, searchable, paginated booking list
   ════════════════════════════════════════════════════════════ */
.lt-activity { display: flex; flex-direction: column; }

/* Toolbar: title + search/filter/sort */
.lt-activity-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 10px;
}
.lt-activity-title { font-weight: 700; font-size: .9rem; color: var(--text-main); }
.lt-activity-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lt-activity-search { position: relative; display: flex; align-items: center; }
.lt-activity-search i {
  position: absolute; left: 11px; color: var(--text-light); font-size: .8rem; pointer-events: none;
}
.lt-activity-search input {
  height: 36px; padding: 0 10px 0 30px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: .82rem; font-family: var(--font-main);
  min-width: 190px; background: #fff; color: var(--text-main);
}
.lt-activity-search input:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,129,.12);
}
.lt-activity .lt-act-filter,
.lt-activity .lt-act-sort { width: auto; height: 36px; font-size: .82rem; padding: 0 28px 0 10px; }

/* Scroll container with a sticky header for long lists */
.lt-activity-scroll {
  position: relative; max-height: 460px; overflow: auto;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.lt-activity-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.lt-activity-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: #f4f7ff; color: var(--text-muted);
  text-align: left; font-weight: 700; font-size: .68rem; letter-spacing: .05em;
  text-transform: uppercase; padding: 9px 12px; white-space: nowrap;
  box-shadow: inset 0 -1px 0 var(--border);
}
.lt-activity-table tbody td {
  padding: 9px 12px; border-bottom: 1px solid #eef2fb;
  vertical-align: middle; color: var(--text-main);
}
.lt-act-row { cursor: pointer; transition: background .12s ease; }
.lt-act-row:hover { background: #eff4ff; }
.lt-act-row:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.lt-act-name  { font-weight: 600; }
.lt-act-room  { white-space: nowrap; }
.lt-act-room i { color: var(--text-light); font-size: .78rem; margin-right: 2px; }
.lt-act-range { display: block; white-space: nowrap; }
.lt-act-sub   { display: block; font-size: .72rem; color: var(--text-muted); margin-top: 1px; }

/* Actions: reveal on row hover (desktop), compact column */
.lt-act-col-act { width: 1%; text-align: right; white-space: nowrap; }
.lt-act-void {
  opacity: 0; transition: opacity .12s ease;
}
.lt-act-row:hover .lt-act-void,
.lt-act-row:focus-within .lt-act-void { opacity: 1; }

/* Footer: count + pager */
.lt-activity-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.lt-act-count { font-size: .76rem; color: var(--text-muted); }
.lt-act-pager { display: flex; gap: 4px; }
.lt-page-btn {
  min-width: 30px; height: 30px; padding: 0 8px;
  border: 1px solid var(--border); background: #fff; color: var(--text-main);
  border-radius: var(--radius-sm); font-size: .8rem; font-weight: 600; cursor: pointer;
}
.lt-page-btn:hover:not(:disabled):not(.active) { background: #eff4ff; }
.lt-page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.lt-page-btn:disabled { opacity: .4; cursor: default; }

/* Empty + no-result states */
.lt-activity-empty {
  padding: 36px 16px; text-align: center; color: var(--text-muted);
}
.lt-activity-empty i { font-size: 1.8rem; color: var(--text-light); margin-bottom: 8px; display: block; }
.lt-activity-empty-title { font-weight: 700; color: var(--text-main); }
.lt-activity-empty-sub { font-size: .8rem; margin-top: 2px; }
.lt-activity-noresult { padding: 22px 16px; text-align: center; color: var(--text-muted); font-size: .85rem; }

/* Optional loading skeleton (for future async loading) */
.lt-skeleton-row { height: 38px; border-bottom: 1px solid #eef2fb; padding: 9px 12px; }
.lt-skeleton-bar {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #eef2fb 25%, #e2e8f6 37%, #eef2fb 63%);
  background-size: 400% 100%; animation: ltShimmer 1.2s infinite;
}
@keyframes ltShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Mobile: drop secondary columns; keep Guest · Room · Dates · Action */
@media (max-width: 600px) {
  .lt-activity-table .lt-act-col-nat,
  .lt-activity-table .lt-act-col-status { display: none; }
  .lt-activity-search input { min-width: 0; flex: 1; }
  .lt-activity-search { flex: 1 1 100%; }
  .lt-act-void { opacity: 1; }            /* always visible on touch */
  .lt-activity-table { font-size: .82rem; }
}

/* ── Booking detail drawer (slides in from the right) ───────── */
.lt-drawer {
  position: fixed; inset: 0; z-index: 2050;
  background: rgba(13,31,60,.45);
  display: flex; justify-content: flex-end;
  opacity: 0; transition: opacity .2s ease;
}
.lt-drawer.open { opacity: 1; }
.lt-drawer-panel {
  width: 360px; max-width: 90vw; height: 100%;
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,53,95,.18);
  transform: translateX(100%); transition: transform .22s ease;
}
.lt-drawer.open .lt-drawer-panel { transform: translateX(0); }
.lt-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.lt-drawer-title { font-weight: 800; font-size: 1.05rem; color: var(--text-main); }
.lt-drawer-close {
  border: none; background: none; font-size: 1.6rem; line-height: 1;
  color: var(--text-muted); cursor: pointer; padding: 0 4px;
}
.lt-drawer-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.lt-drawer-field {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid #eef2fb;
}
.lt-drawer-field span   { color: var(--text-muted); font-size: .8rem; }
.lt-drawer-field strong { color: var(--text-main); font-size: .9rem; text-align: right; }
.lt-drawer-footer {
  display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border);
  align-items: stretch;
}
.lt-drawer-footer .btn,
.lt-drawer-footer .lt-drawer-void { flex: 1 1 0; }      /* equal-width buttons */
.lt-drawer-void {
  min-height: 40px; padding: 8px 14px;
  border: 1px solid #e4a8a8; background: #fff5f5; color: #ba1a1a;
  border-radius: var(--radius-sm); font-weight: 700; font-size: .85rem;
  font-family: var(--font-main); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.lt-drawer-void:hover { background: #ffe5e5; border-color: #d98c8c; }
