/* =========================================================
   World Hotels - ONE CSS for USER + ADMIN
   Theme: Champagne Gold (User) + Clean Neutral (Admin)
   Files covered:
   USER: index, search, hotel_details, my_bookings, payment, auth_modal
   ADMIN: admin_base, dashboard, customers, reports, bookings, rooms, hotels, bookings
   ========================================================= */

:root{
  /* ---------- USER THEME (warm luxury) ---------- */
  --bg: #f6f3ea;
  --surface: rgba(255,255,255,.82);
  --surface-solid: #ffffff;

  --ink: #141414;
  --muted: rgba(20,20,20,.65);

  --gold: #c8a24d;
  --gold-2:#ead9a7;
  --gold-3:#8a6a22;

  --line: rgba(20,20,20,.10);
  --shadow: 0 14px 40px rgba(20,20,20,.10);
  --shadow-soft: 0 10px 28px rgba(20,20,20,.08);

  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 12px;

  --max: 1280px;
  --pad: 14px;

  --focus: 0 0 0 4px rgba(200,162,77,.20);

  /* ---------- ADMIN THEME (clean dashboard) ---------- */
  --admin-bg: #0f1115;      /* sidebar */
  --admin-bg-2:#141824;     /* sidebar hover */
  --admin-surface:#ffffff;  /* main */
  --admin-soft:#f4f6fb;     /* page background */
  --admin-line: rgba(10,12,18,.10);
  --admin-ink: #0b0d12;
  --admin-muted: rgba(11,13,18,.62);
  --admin-accent: #c8a24d;  /* keep brand gold */
}

/* ---------- Base reset ---------- */
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 560px at 20% 0%, rgba(234,217,167,.44), transparent 60%),
    radial-gradient(900px 520px at 85% 8%, rgba(200,162,77,.22), transparent 55%),
    var(--bg);
  line-height: 1.55;
}
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }
button, input, select, textarea{ font:inherit; }

/* =========================================================
   USER LAYOUT (base.html)
   ========================================================= */

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(246,243,234,.82);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: .2px;
}
.brand-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 20px rgba(200,162,77,.25);
  display:grid;
  place-items:center;
  color:#1b1406;
  font-weight: 950;
}
.brand-text{ font-size: 18px; }

/* Links */
.navlinks{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
  color: var(--muted);
  font-weight: 650;
}
.navlinks a{
  padding: 8px 10px;
  border-radius: 10px;
  transition: .2s ease;
}
.navlinks a:hover{
  background: rgba(200,162,77,.12);
  color: var(--ink);
}

/* Page wrapper - fixes congestion by adding breathing space */
.page{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad) 54px;
}

/* Flash messages */
.flashwrap{
  display:grid;
  gap: 10px;
  margin-bottom: 16px;
}
.flash{
  border-radius: 14px;
  border: 1px solid rgba(200,162,77,.35);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
  padding: 12px 14px;
  font-weight: 650;
}

/* Buttons */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: .2px;
  border: 1px solid rgba(138,106,34,.25);
  cursor:pointer;
  color: #1b1406;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 30px rgba(200,162,77,.22);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover{
  box-shadow: 0 18px 40px rgba(200,162,77,.28);
  filter: saturate(1.05);
}
.btn-primary:active{ transform: translateY(1px); }

/* Generic panels / cards you can reuse in hotel_details/payment etc */
.panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}

/* Inputs */
input[type="text"], input[type="email"], input[type="password"],
input[type="date"], input[type="number"], select, textarea{
  width:100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(20,20,20,.14);
  background: #fff;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(200,162,77,.70);
  box-shadow: var(--focus);
}

/* Placeholder image blocks */
.image-placeholder{
  border-radius: var(--r-xl);
  border: 1px dashed rgba(20,20,20,.20);
  background:
    radial-gradient(600px 220px at 30% 0%, rgba(200,162,77,.18), transparent 60%),
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.45));
  box-shadow: var(--shadow-soft);
}
.image-placeholder.large{ height: 300px; }
.image-placeholder.medium{ height: 240px; }
.image-placeholder.small{ height: 190px; }

/* ---------------- Index sections ---------------- */

/* HERO — bigger spacing to avoid congestion */
.hero{ padding: 18px 0 10px; }
.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items:center;
}
.hero-text{
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: 34px;
  position:relative;
  overflow:hidden;
}
.hero-text::before{
  content:"";
  position:absolute;
  inset:-140px -140px auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(200,162,77,.28), transparent 60%);
}
.hero-text h1{
  margin:0 0 12px;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.9px;
}
.hero-text p{
  margin: 0 0 16px;
  color: var(--muted);
}
.hero-img{
  width: 100%;
  max-width: 480px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* Search box — separate band feel like your reference */
.search-box{
  margin-top: 26px;
  padding-top: 10px;
}
.search-box h2{
  margin: 6px 0 16px;
  font-size: 26px;
  letter-spacing: -0.3px;
}
.search-inner{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: start;
}
.search-form{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  display:grid;
  gap: 12px;
}
.form-row label{
  display:block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.search-form .btn-primary{
  width: 100%;
  border-radius: 16px;
  padding: 14px 18px;
}
.search-image{ display:flex; align-items:stretch; }
.search-img{
  width: 100%;
  max-width: 360px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* Features */
.features{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  transition: transform .14s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(20,20,20,.12);
  border-color: rgba(200,162,77,.30);
}
.feature-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color: #1b1406;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 18px rgba(200,162,77,.22);
  margin-bottom: 10px;
}
.feature h3{ margin:0 0 6px; font-size:18px; }
.feature p{ margin:0; color: var(--muted); }

/* Why choose */
.why-choose{ margin-top: 26px; }
.why-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items:center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}
.why-text h2{ margin:0 0 10px; font-size: 30px; letter-spacing:-.4px; }
.why-text p{ margin:0; color: var(--muted); max-width: 62ch; }
.why-img{
  width: 100%;
  max-width: 300px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

/* Testimonial */
.testimonial{ margin-top: 26px; }
.testimonial-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items:center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}
.arrow{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(20,20,20,.14);
  background: #fff;
  cursor:pointer;
  font-size: 18px;
  transition: .2s ease;
}
.arrow:hover{
  background: rgba(200,162,77,.12);
  border-color: rgba(200,162,77,.35);
}
.quote{ margin:0 0 12px; color: rgba(20,20,20,.72); font-size: 16px; }
.author{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}
.avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(200,162,77,.25), rgba(20,20,20,.08));
  border: 1px solid rgba(20,20,20,.12);
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(246,243,234,.60);
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad);
  text-align:center;
}
.footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  color: var(--muted);
  font-weight: 650;
}
.footer-links a{
  padding: 6px 8px;
  border-radius: 10px;
}
.footer-links a:hover{
  background: rgba(200,162,77,.12);
  color: var(--ink);
}
.sep{ opacity:.45; }
.footer-copy{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(20,20,20,.62);
}
.hotel-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hotel-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display:grid;
  gap: 10px;
}
.hotel-card h3{ margin:0; font-size: 18px; }
.hotel-card p{ margin:0; color: var(--muted); }

@media (max-width: 980px){
  .hotel-grid{ grid-template-columns: 1fr; }
}

/* search pictures */
.hotel-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  display:block;
}


/* =========================================================
   USER: Lists / tables (my_bookings, admin tables too)
   ========================================================= */


/* =========================================================
   AUTH MODAL (auth_modal.html)
   Works with ids: #authModal and #authBackdrop
   and classes: .auth-card .auth-tabs .auth-tab .auth-pane
   ========================================================= */
#authBackdrop{
  position: fixed;
  inset:0;
  background: rgba(20,20,20,.48);
  display:none;
  z-index: 9998;
}
#authModal{
  position: fixed;
  inset: 0;
  display:none;
  place-items:center;
  z-index: 9999;
  padding: 18px;
}
#authModal.is-open, #authBackdrop.is-open{ display:grid; }

.auth-card{
  width: min(520px, 100%);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(20,20,20,.25);
  overflow:hidden;
}
.auth-head{
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(234,217,167,.40), rgba(255,255,255,.0));
}
.auth-head h3{
  margin:0;
  font-size: 18px;
  font-weight: 950;
}
.auth-close{
  border: 1px solid rgba(20,20,20,.14);
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.auth-tabs{
  display:flex;
  gap: 8px;
  padding: 12px 16px 0;
}
.auth-tab{
  flex:1;
  text-align:center;
  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;
  border: 1px solid rgba(20,20,20,.12);
  background: rgba(255,255,255,.70);
  font-weight: 850;
  color: rgba(20,20,20,.72);
}
.auth-tab.active{
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  border-color: rgba(138,106,34,.25);
  color:#1b1406;
}
.auth-body{ padding: 14px 16px 16px; }
.auth-pane{ display:none; }
.auth-pane.active{ display:block; }
.auth-actions{ margin-top: 10px; }
.auth-actions .btn-primary{
  width:100%;
  border-radius: 16px;
  padding: 14px 18px;
}

/* =========================================================
   ADMIN INTERFACE (admin/admin_base.html)
   ========================================================= */
.admin-layout{
  min-height: 100vh;
  display:grid;
  grid-template-columns: 280px 1fr;
  background: var(--admin-soft);
}

/* Sidebar */
.admin-sidebar{
  background: linear-gradient(180deg, var(--admin-bg), #0b0d12);
  color: rgba(255,255,255,.86);
  padding: 18px 16px;
  display:flex;
  flex-direction:column;
  gap: 16px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.admin-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.admin-brand .brand-icon{
  /* reuse your brand-icon styling but fit dark bg */
  box-shadow: 0 10px 20px rgba(200,162,77,.25);
}
.admin-brand .brand-text{
  font-weight: 950;
  font-size: 16px;
}

/* Sidebar nav */
.admin-nav{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-top: 6px;
}
.admin-link{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  transition: .18s ease;
  font-weight: 700;
}
.admin-link:hover{
  background: rgba(200,162,77,.14);
  border-color: rgba(200,162,77,.22);
  color: #ffffff;
}

.admin-sidebar-footer{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.admin-copy{
  font-size: 12px;
  opacity: .8;
}
.admin-link.logout{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.18);
}
.admin-link.logout:hover{
  background: rgba(239,68,68,.18);
  border-color: rgba(239,68,68,.24);
}

/* Admin main area */
.admin-main{
  padding: 18px 22px 28px;
}

/* Admin topbar */
.admin-topbar{
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--r-xl);
  box-shadow: 0 12px 30px rgba(10,12,18,.08);
  padding: 18px 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.admin-title{
  margin:0 0 4px;
  font-size: 22px;
  letter-spacing:-.2px;
  color: var(--admin-ink);
  font-weight: 950;
}
.admin-subtitle{
  margin:0;
  color: var(--admin-muted);
  font-weight: 650;
  font-size: 13px;
}
.admin-user{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--admin-line);
  background: #fff;
  color: var(--admin-ink);
  font-weight: 800;
}

/* Admin content section */
.admin-content{
  display: grid;
  gap: 18px;
}


/* Admin cards / widgets (use class="admin-card" in admin pages if you want) */
.admin-card{
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--r-xl);
  box-shadow: 0 12px 30px rgba(10,12,18,.06);
  padding: 16px;
}
.admin-card h2, .admin-card h3{
  margin:0 0 10px;
  color: var(--admin-ink);
}

/* Make tables look great in admin too */
.admin-content table{
  width:100%;
  border-collapse: collapse;
  border-radius: var(--r-lg);
  overflow:hidden;
  border: 1px solid var(--admin-line);
  background: #fff;
}
.admin-content th, .admin-content td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(10,12,18,.06);
  text-align:left;
}
.admin-content th{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(11,13,18,.65);
  background: rgba(200,162,77,.18);
}
.admin-content tr:hover td{
  background: rgba(200,162,77,.08);
}

/* Admin form styles */
.admin-content input,
.admin-content select,
.admin-content textarea{
  border-radius: 14px;
}

/* ==========================
   ADMIN KPI / DASHBOARD CARDS
   Paste below your admin css
   ========================== */

/* KPI grid */
.kpi-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* KPI Card */
.kpi-card{
  grid-column: span 4;
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(10,12,18,.06);
  display: grid;
  gap: 6px;
  min-height: 110px;
}

@media (max-width: 1100px){
  .kpi-card{ grid-column: span 6; }
}
@media (max-width: 700px){
  .kpi-card{ grid-column: span 12; }
}

/* KPI top row */
.kpi-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.kpi-label{
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--admin-muted);
  font-weight: 900;
}

.kpi-icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(10,12,18,.08);
  background: rgba(200,162,77,.18);
}

/* KPI number */
.kpi-value{
  font-size: 30px;
  font-weight: 950;
  line-height: 1.1;
  color: var(--admin-ink);
}

/* KPI helper text */
.kpi-meta{
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 650;
}

/* Report list style blocks (optional if you use them) */
.report-stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-xl);
  border: 1px solid var(--admin-line);
  background: var(--admin-surface);
  box-shadow: 0 12px 30px rgba(10,12,18,.06);
}

/* =========================
   ADMIN DASHBOARD STATS
   ========================= */

/* Top stats row */
.admin-stats{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Individual stat cards */
.stat-card{
  grid-column: span 4;
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(10,12,18,.06);
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.stat-card-dark{
  background: linear-gradient(145deg, #1b1f2a, #0f1219);
  color: #fff;
  border: none;
}

@media (max-width: 1100px){
  .stat-card{ grid-column: span 6; }
}
@media (max-width: 700px){
  .stat-card{ grid-column: span 12; }
}

/* Card header */
.stat-top{
  display:flex;
  align-items:center;
  gap: 12px;
}

.stat-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(200,162,77,.25);
  font-size: 20px;
}

.stat-card-dark .stat-icon{
  background: rgba(255,255,255,.15);
}

.stat-heading{
  flex:1;
}

.stat-title{
  font-weight: 900;
  font-size: 14px;
}

.stat-sub{
  font-size: 12px;
  opacity:.7;
}

.stat-arrow{
  font-size: 20px;
  opacity:.5;
}

/* Card values */
.stat-value{
  font-size: 30px;
  font-weight: 950;
}

.stat-note{
  font-size: 13px;
  opacity:.7;
}

/* =========================
   DASHBOARD ROW (tables + status)
   ========================= */

.admin-row{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.admin-row .admin-card{
  grid-column: span 6;
}

@media (max-width: 900px){
  .admin-row .admin-card{
    grid-column: span 12;
  }
}

/* Booking status list */
.status-list{
  display:grid;
  gap: 10px;
}

.status-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.status-dot{
  width:10px;
  height:10px;
  border-radius:50%;
}

.status-dot.confirmed{ background:#4caf50; }
.status-dot.pending{ background:#ff9800; }
.status-dot.cancelled{ background:#f44336; }

.status-name{
  flex:1;
  font-weight:700;
}

.status-count{
  font-weight:900;
}

/* Divider */
.divider{
  margin: 6px 0;
  border: none;
  border-top: 1px solid var(--line);
}

/* Total */
.status-total{
  display:flex;
  justify-content:space-between;
  font-weight:900;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .search-inner{ grid-template-columns: 1fr; }
  .features{ grid-template-columns: 1fr; }
  .why-inner{ grid-template-columns: 1fr; }

  .admin-layout{ grid-template-columns: 1fr; }
  .admin-sidebar{ position: sticky; top:0; z-index: 50; }
}

@media (max-width: 520px){
  .testimonial-inner{ grid-template-columns: 1fr; }
  .arrow{ width: 100%; }
  .admin-main{ padding: 14px; }
}

/* HARD CLICK FIX */
.admin-actions-row,
.admin-actions-left,
.admin-card {
  position: relative;
  z-index: 50;
}

/* If any overlay exists, don't let it capture clicks */
.admin-card::before,
.admin-card::after,
.admin-content::before,
.admin-content::after,
.admin-main::before,
.admin-main::after {
  pointer-events: none !important;
}

/* Ensure clickable things are actually clickable */
.admin-actions-row a,
.admin-actions-row button {
  pointer-events: auto !important;
  position: relative;
  z-index: 100;
}
