/* Travify Customer Portal — Design system v2
 * Reemplaza el style.css anterior. Usa variables CSS para tematización.
 */

:root {
  --brand: #FF3C9A;
  --brand-50: #FFF0F8;
  --brand-100: #FFE0F0;
  --brand-600: #E62E84;
  --brand-700: #C71F6F;
  --surface: #F8FAFC;
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
  --success-bg: #D1FAE5;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --danger: #EF4444;
  --danger-bg: #FEE2E2;
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-card: 16px;
  --radius-btn: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== LAYOUT ========== */
.app { min-height: 100vh; display: flex; }

.sidebar {
  width: 256px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: white;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 16px;
  z-index: 40;
}
.sidebar-logo { padding: 12px 8px; }
.sidebar-logo svg { display: block; height: 36px; width: auto; }
.sidebar nav { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sidebar nav a,
.sidebar-foot a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink-2); font-size: 14px; transition: all 0.15s;
}
.sidebar nav a:hover,
.sidebar-foot a:hover { background: var(--surface); }
.sidebar nav a.active { background: var(--brand); color: white; font-weight: 500; }
.sidebar nav a svg,
.sidebar-foot a svg { width: 20px; height: 20px; flex-shrink: 0; }

.sidebar-cta {
  width: 100%; padding: 12px; background: var(--brand); color: white;
  border-radius: var(--radius-btn); font-weight: 600; font-size: 14px;
  transition: background 0.15s;
}
.sidebar-cta:hover { background: var(--brand-600); }

.sidebar-foot {
  padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}

.main { flex: 1; margin-left: 256px; padding-bottom: 32px; }

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.2s; }
  .sidebar.is-open { transform: translateX(0); }
  .main { margin-left: 0; padding-bottom: 100px; }
}

/* ========== TOPBAR ========== */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  /* En desktop el topbar tiene espacio sobrado. En movil reducimos
     gap/padding y permitimos que los hijos se ajusten en lugar de
     desbordar a un scroll horizontal. */
  gap: 12px;
  flex-wrap: nowrap;
  min-width: 0; /* permite que children se encogan en flexbox */
}
.topbar h1 {
  font-size: 18px; font-weight: 700;
  /* Truncar el titulo cuando el espacio es justo (ej 'Mis eSIMs'
     no debe partirse en 2 lineas en movil; ver fix mas abajo). */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.topbar .breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 14px;
  min-width: 0; /* truncable */
  overflow: hidden;
}
.topbar .breadcrumb strong,
.topbar .breadcrumb a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .breadcrumb a { color: var(--ink-3); flex-shrink: 0; }
.topbar .breadcrumb a:hover { color: var(--brand); }

.topbar-right {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; /* truncable */
  flex-shrink: 1;
}

.lang-selector {
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 28px 6px 12px; font-size: 13px; color: var(--ink-2);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  cursor: pointer;
  flex-shrink: 0; /* el selector de idioma no se reduce */
}

.user-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 4px 10px 4px 4px; border-radius: 999px;
  cursor: pointer; font-size: 13px;
  min-width: 0; /* permitir que el span hijo se trunque */
  max-width: 100%;
}
.user-pill .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  color: white; font-weight: 600; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-pill #userEmail {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* En movil: ocultar el email completo, solo avatar.
   Tap del avatar abre logout — sigue funcionando porque el handler
   esta en el contenedor .user-pill, no en el span. */
@media (max-width: 600px) {
  .user-pill { padding: 4px; }
  .user-pill #userEmail { display: none; }
  .lang-selector { font-size: 12px; padding: 6px 22px 6px 10px; }
  .topbar { padding: 14px 16px; gap: 8px; }
  .topbar h1 { font-size: 16px; }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  /* Color corporativo: rosa Travify para que sea el elemento mas
     visible del topbar (es el unico CTA en movil para abrir el
     sidebar). */
  background: var(--brand);
  color: white;
  align-items: center; justify-content: center;
  transition: background 0.15s;
}
.menu-toggle:hover { background: var(--brand-600); }
.menu-toggle svg { width: 22px; height: 22px; stroke: white; }
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
}

/* ========== CONTENT ========== */
.content {
  max-width: 1200px; margin: 0 auto;
  padding: 32px;
}
@media (max-width: 768px) {
  .content { padding: 20px; }
  .topbar { padding: 16px 20px; }
}

.greeting h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.greeting p { color: var(--ink-3); margin-top: 4px; }
.section-title {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-title .link {
  font-size: 13px; color: var(--brand); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}

/* ========== CARDS ========== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.card-featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-card-hover);
}
.card-featured::before {
  content: ''; position: absolute; right: -48px; top: -48px;
  width: 192px; height: 192px; background: rgba(255, 60, 154, 0.05);
  border-radius: 50%; filter: blur(40px); pointer-events: none;
}
.card-clickable { transition: box-shadow 0.15s, transform 0.15s; }
.card-clickable:hover { box-shadow: var(--shadow-card-hover); }
.card-clickable:active { transform: scale(0.98); }

/* ========== BADGES ========== */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; line-height: 1.4;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-muted { background: rgba(100, 116, 139, 0.1); color: var(--ink-3); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 14px;
  transition: all 0.15s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 2px 8px rgba(255, 60, 154, 0.25); }
.btn-primary:hover { background: var(--brand-600); }
.btn-secondary { background: white; color: var(--ink); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface); }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-full { width: 100%; }
.btn-icon { padding: 0; width: 44px; height: 44px; }

/* ========== eSIM CARD ========== */
.esim-active {
  display: flex; flex-direction: column; gap: 16px;
}
.esim-active-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
}
.esim-active-country {
  display: flex; gap: 16px; align-items: center;
  min-width: 0; /* permite truncar nombres largos */
  flex: 1;
}
.esim-active-country > div { min-width: 0; }
.esim-active-flag {
  width: 56px; height: 56px; border-radius: 14px; background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.esim-active-title {
  font-size: 22px; font-weight: 700; margin-top: 4px;
  word-break: break-word;
}
.esim-active-sub {
  color: var(--ink-3); font-size: 13px;
  word-break: break-word;
}
.esim-active-usage { text-align: right; }
.esim-active-usage strong { font-size: 22px; color: var(--brand); display: block; }
.esim-active-usage span { font-size: 12px; color: var(--ink-3); }

@media (max-width: 600px) {
  .card { padding: 18px; }
  .esim-active-title { font-size: 18px; }
  .esim-active-flag { width: 48px; height: 48px; font-size: 26px; border-radius: 12px; }
  .esim-active-usage { text-align: left; }
  .esim-active-usage strong { font-size: 18px; }
}

.progress-wrap { width: 100%; }
.progress-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-3); font-weight: 600; margin-bottom: 6px;
}
.progress-bar { width: 100%; height: 8px; background: var(--surface); border-radius: 999px; overflow: hidden; }
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--brand-700), var(--brand));
  border-radius: 999px;
}
.progress-fill.warning { background: var(--warning); }
.progress-fill.danger { background: var(--danger); }

/* ========== eSIM LIST CARD ========== */
.esim-card {
  display: flex; flex-direction: column; gap: 12px;
}
.esim-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.esim-card-country { display: flex; align-items: center; gap: 12px; }
.esim-card-flag { font-size: 28px; }
.esim-card-name { font-weight: 700; font-size: 14px; }
.esim-card-plan { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.esim-card-actions { display: flex; gap: 8px; margin-top: 12px; }
.esim-card-actions .btn { padding: 10px 16px; font-size: 13px; }

.esims-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.esim-card-expired { opacity: 0.75; }
.esim-card-expired .esim-card-flag { filter: grayscale(1); }

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center; padding: 60px 20px;
  background: white; border-radius: var(--radius-card); border: 1px dashed var(--border);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.empty-text { color: var(--ink-3); font-size: 14px; max-width: 400px; margin: 0 auto; }

/* ========== FILTERS PILLS ========== */
.filter-pills {
  display: inline-flex; background: white; border: 1px solid var(--border);
  border-radius: 999px; padding: 4px;
}
.filter-pills button {
  padding: 6px 16px; border-radius: 999px; font-size: 13px;
  color: var(--ink-2); font-weight: 500;
}
.filter-pills button.active { background: var(--brand); color: white; font-weight: 600; }

/* ========== THINGS TO DO ========== */
.attractions-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: thin;
}
.attractions-scroll::-webkit-scrollbar { height: 6px; }
.attractions-scroll::-webkit-scrollbar-track { background: transparent; }
.attractions-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.attraction-card {
  flex-shrink: 0; width: 260px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s, transform 0.15s;
}
.attraction-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.attraction-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--surface);
}
.attraction-card-body { padding: 14px 16px; }
.attraction-card-body h4 { font-size: 14px; font-weight: 600; }
.attraction-card-body p { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

/* ========== QR ========== */
.qr-block { text-align: center; }
.qr-frame {
  display: inline-block; position: relative;
  background: var(--ink); padding: 24px; border-radius: 18px;
  margin: 0 auto;
}
.qr-frame::before, .qr-frame::after,
.qr-frame .corner-tr::before, .qr-frame .corner-bl::before {
  content: ''; position: absolute; width: 28px; height: 28px; border: 3px solid var(--brand);
}
.qr-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.qr-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }
.qr-frame .corner-tr::before { top: -2px; right: -2px; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.qr-frame .corner-bl::before { bottom: -2px; left: -2px; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.qr-frame .qr-inner { background: white; padding: 12px; border-radius: 8px; }
.qr-frame .qr-inner img, .qr-frame .qr-inner svg { display: block; width: 180px; height: 180px; }

/* ========== STATS / TECH DETAILS ========== */
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}
.tech-stat { background: var(--surface); border-radius: 10px; padding: 12px; }
.tech-stat-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-3); font-weight: 600;
}
.tech-stat-value { font-size: 14px; font-weight: 700; margin-top: 4px; color: var(--ink); }

.tech-list { font-size: 14px; }
.tech-list .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
  min-width: 0;
}
.tech-list .row:first-child { border-top: none; }
.tech-list .label {
  color: var(--ink-3);
  flex-shrink: 0; /* la etiqueta no se trunca */
}
.tech-list .value { font-weight: 600; }
.tech-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: var(--brand-50); color: var(--brand);
  padding: 4px 8px; border-radius: 6px;
  /* Permitir que el codigo largo (ICCID 19 digitos, SM-DP+ URL,
     activation code) se trunque o haga wrap sin desbordar la card. */
  word-break: break-all;
  max-width: 100%;
  display: inline-block;
}

/* En movil: stack vertical de label/value para que las strings largas
   (ICCID, SM-DP+ URL, codigo activacion) tengan ancho completo y no
   provoquen scroll horizontal en la pagina entera. */
@media (max-width: 600px) {
  .tech-list .row {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    gap: 6px;
  }
  .tech-list .row > span:last-child {
    width: 100%;
    word-break: break-all;
  }
}
.copy-btn {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3); margin-left: 8px;
}
.copy-btn:hover { background: var(--border); color: var(--brand); }

/* ========== INSTALL TABS ========== */
.tabs { border-bottom: 1px solid var(--border); display: flex; }
.tab {
  flex: 1; padding: 14px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.steps { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); color: white; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ========== TOAST ========== */
.toast {
  position: fixed; top: 24px; right: 24px;
  padding: 14px 20px; border-radius: 12px;
  background: var(--ink); color: white; font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transform: translateX(120%); transition: transform 0.2s;
  z-index: 100;
}
.toast.show { transform: translateX(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); }

/* ========== LOADING ========== */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  z-index: 200;
}
.spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
}
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== LAYOUT GRIDS ========== */
.grid { display: grid; gap: 24px; }
.grid-12 { grid-template-columns: repeat(12, 1fr); }
.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
@media (max-width: 1024px) {
  .col-8, .col-4, .col-7, .col-5 { grid-column: span 12; }
}

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--surface); padding: 20px;
}
.auth-card {
  background: white; border-radius: var(--radius-card);
  padding: 40px 32px;
  width: 100%; max-width: 400px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.auth-logo { display: block; margin: 0 auto 24px; height: 36px; }
.auth-card h1 { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-card p { color: var(--ink-3); text-align: center; font-size: 14px; margin-bottom: 24px; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.auth-card input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-btn);
  border: 1px solid var(--border); font-size: 14px; font-family: inherit;
  background: white; transition: border 0.15s, box-shadow 0.15s;
}
.auth-card input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 60, 154, 0.15);
}
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .helper { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 16px; }
.auth-card .helper a { color: var(--brand); font-weight: 600; }

/* ========== TEXT HELPERS ========== */
.text-muted { color: var(--ink-3); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-bold { font-weight: 700; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ============================================================
 * MOVIL - bloque de ajustes globales
 * Concentramos aqui los breakpoints especificos de movil para
 * que sea trivial revisarlos y mantenerlos.
 * ============================================================ */

/* Evitar scroll horizontal en el documento — clave en movil
   donde cualquier hijo que rebose el viewport rompe la pagina. */
html, body { overflow-x: hidden; }

@media (max-width: 600px) {
  /* Tipografia */
  .greeting h2 { font-size: 22px; }
  .greeting p { font-size: 13px; }
  .section-title { font-size: 16px; margin-bottom: 12px; }

  /* H1 del detalle de eSIM (28px en desktop -> 20px en movil) */
  h1 { font-size: 20px !important; }

  /* Grid de eSIMs: 1 columna full width */
  .esims-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Filter pills: hacer que la fila scrolee horizontal si no caben
     todas (con 3 pills es raro pero protege ante crecimiento). */
  .filter-pills {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pills button { flex-shrink: 0; }

  /* Botones: ligero ajuste de padding para que ocupen mejor */
  .btn { padding: 11px 16px; font-size: 13px; }
  .btn-icon { width: 40px; height: 40px; }

  /* Auth pages: padding mas ajustado */
  .auth-card { padding: 28px 22px; }
  .auth-card h1 { font-size: 20px !important; }
}

/* Backdrop al abrir sidebar en movil */
@media (max-width: 768px) {
  .sidebar-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .sidebar-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}
