/* ============================================================
   MEENAKSHI MATRIMONY — MOBILE RESPONSIVE CSS (375px+)
   Comprehensive breakpoints for 375px (iPhone SE) and up.
   Add this as the last <link> in all user-app HTML pages.
   ============================================================ */
@import url('dashboards.css');

/* ─── Base mobile safety ─────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ─── Container: tighter on small screens ─────────── */
@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-4);  /* 16px */
  }
}
@media (max-width: 390px) {
  .container {
    padding-inline: var(--space-3);  /* 12px */
  }
}

/* ─── Bottom Nav bar (Native App Dock Feel & Scrollable) ─────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.12), 0 -1px 3px rgba(128, 0, 32, 0.08);
  padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px));
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.bottom-nav::-webkit-scrollbar {
  display: none;
}

[data-theme="dark"] .bottom-nav {
  background: rgba(28, 18, 22, 0.94);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}

.bottom-nav .bn-item {
  flex: 1 0 auto;
  min-width: 52px;
  max-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--color-text-light-muted, #718096);
  padding: 6px 4px;
  border-radius: var(--radius-lg, 12px);
  min-height: 44px;
  transition: all var(--duration-fast, 0.2s) var(--ease-standard, ease);
  text-decoration: none;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav .bn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 32px;
  font-size: 1.35rem;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav .bn-icon svg {
  width: 24px; height: 24px;
  stroke-width: 2.2;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

/* Hide bn-label per user directive across all pages */
.bottom-nav .bn-label {
  display: none !important;
}

/* Active Tab indicator & pill background */
.bottom-nav .bn-item.active,
.bottom-nav .bn-item[aria-current="page"] {
  color: var(--color-primary, #8B1E3F);
  background: rgba(139, 30, 63, 0.08);
}

[data-theme="dark"] .bottom-nav .bn-item.active,
[data-theme="dark"] .bottom-nav .bn-item[aria-current="page"] {
  color: #F0C860;
  background: rgba(240, 200, 96, 0.12);
}

.bottom-nav .bn-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 18px;
  height: 3px;
  background: var(--gradient-gold, linear-gradient(135deg, #D4AF37, #F0C860));
  border-radius: 0 0 3px 3px;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.6);
}

.bottom-nav .bn-item.active .bn-icon {
  transform: translateY(-2px) scale(1.12);
}

/* Center Porutham/Action FAB Tab */
.bottom-nav .bn-center {
  position: relative;
}
.bottom-nav .bn-center .bn-icon-fab {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B1E3F 0%, #D4AF37 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(138, 28, 62, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  margin-top: -16px;
  border: 3px solid var(--color-surface-light, #ffffff);
}
[data-theme="dark"] .bottom-nav .bn-center .bn-icon-fab {
  border-color: #1C1216;
}
.bottom-nav .bn-center:hover .bn-icon-fab,
.bottom-nav .bn-center.active .bn-icon-fab {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.6), 0 0 0 3px rgba(212, 175, 55, 0.4);
}

/* ─── App shell main & footer padding for bottom nav ──────── */
body {
  padding-bottom: 84px !important;
}
.app-shell main,
.container[data-page],
.content-area,
.admin-wrapper,
.support-wrapper {
  padding-bottom: 88px !important;
}
footer.site-footer {
  padding-bottom: 88px !important;
}

/* ─── Site Header / Top bar ──────────────────────── */
.site-header .container {
  padding-inline: var(--space-4);
}
@media (max-width: 480px) {
  .site-header {
    height: 56px;
  }
  .brand .brand-word { font-size: var(--fs-sm); }
  .header-actions { gap: var(--space-2); }
  .header-actions .btn { padding: 7px 12px; font-size: var(--fs-xs); }
}

/* ─── Section headings on mobile ─────────────────── */
@media (max-width: 480px) {
  h1 { font-size: var(--fs-xl); }
  h2 { font-size: var(--fs-lg); }
  h3 { font-size: var(--fs-md); }
}
@media (max-width: 390px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}

/* ─── Profile Cards — Browse Matches ─────────────── */
@media (max-width: 480px) {
  .profile-card-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-3) !important;
  }
  .pm-card-img-wrap { height: 190px !important; }
  .pm-card-body { padding: var(--space-3) !important; }
  .pm-name { font-size: var(--fs-base) !important; }
  .pm-card-actions { flex-direction: row; gap: 6px; }
  .pm-card-actions .btn { font-size: 11px; padding: 8px 8px; }
}

/* ─── Filter bar ─────────────────────────────────── */
@media (max-width: 480px) {
  .filter-bar {
    flex-direction: column;
    gap: 8px;
  }
  .filter-bar input,
  .filter-bar select {
    width: 100%;
    min-width: 0;
    flex: unset;
  }
}

/* ─── Matches header banner ──────────────────────── */
@media (max-width: 480px) {
  .matches-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: var(--space-3) var(--space-4);
  }
  .matches-header h2 { font-size: var(--fs-base); }
}

/* ─── Dashboard Status Grid (2 col → 1 col on 375) ─ */
@media (max-width: 390px) {
  section[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Dashboard cards padding ────────────────────── */
@media (max-width: 480px) {
  .card {
    padding: var(--space-4) !important;
  }
  .kolam-card { padding: var(--space-4) !important; }
}

/* ─── Meter bar ──────────────────────────────────── */
.meter {
  height: 8px;
  background: var(--color-border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 8px;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-pill);
  transition: width var(--duration-slow) var(--ease-standard);
}

/* ─── Porutham page ──────────────────────────────── */
@media (max-width: 600px) {
  .porutham-form-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-3);
  }
  .porutham-score-circle {
    width: 110px !important;
    height: 110px !important;
    font-size: 1.8rem !important;
  }
  .porutham-breakdown-grid {
    grid-template-columns: 1fr !important;
  }
  .porutham-breakdown-item {
    padding: var(--space-3) !important;
  }
}
@media (max-width: 390px) {
  .porutham-score-circle {
    width: 90px !important;
    height: 90px !important;
    font-size: 1.5rem !important;
  }
}

/* ─── Support ticket & profile forms ─────────────── */
@media (max-width: 480px) {
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: var(--space-3);
  }
  input, select, textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
  label { font-size: var(--fs-sm); }
}

/* ─── Buttons: full-width on mobile where needed ──── */
@media (max-width: 390px) {
  .btn-block-mobile {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Buttons: minimum touch target 44px ────────── */
.btn {
  min-height: 44px;
  min-width: 44px;
}
.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
}
@media (max-width: 480px) {
  .btn-sm {
    min-height: 40px;
    padding: 9px 14px;
  }
}

/* ─── Section title row ──────────────────────────── */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--space-4) 0 var(--space-3);
  flex-wrap: wrap;
  gap: 8px;
}
.section-title h2 { margin: 0; font-size: var(--fs-md); }

/* ─── Plan badges ────────────────────────────────── */
.badge-plan-free     { background: #e2e8f0; color: #475569; }
.badge-plan-silver   { background: linear-gradient(135deg,#c0c0c0,#e8e8e8); color: #374151; }
.badge-plan-gold     { background: linear-gradient(135deg,#D4AF37,#f0c947); color: #5c4a00; }
.badge-plan-platinum { background: linear-gradient(135deg,#1a1a2e,#16213e); color: #e2c97e; }
.badge-review        { background: #fff3cd; color: #856404; }
.badge-rejected      { background: #f8d7da; color: #721c24; }
.badge-suspended     { background: #f8d7da; color: #721c24; }
.badge-verified      { background: #d4edda; color: #155724; }
.badge-pending       { background: #fff3cd; color: #856404; }
.badge-active        { background: #d4edda; color: #155724; }

/* ─── Profile page layout ───────────────────────── */
@media (max-width: 600px) {
  .profile-avatar-wrap {
    width: 80px !important;
    height: 80px !important;
  }
  .profile-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Referral page ──────────────────────────────── */
@media (max-width: 480px) {
  .referral-code-box {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  .referral-code-box input {
    text-align: center;
    font-size: var(--fs-md);
  }
}

/* ─── Wallet & Withdrawal ────────────────────────── */
@media (max-width: 480px) {
  .wallet-balance-row {
    flex-direction: column;
    gap: var(--space-3);
  }
  .wallet-stat { flex: unset; width: 100%; }
}

/* ─── Tables → mobile stack ──────────────────────── */
@media (max-width: 480px) {
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table th, .data-table td {
    padding: 10px 10px;
    font-size: var(--fs-xs);
  }
}

/* ─── Notifications list ─────────────────────────── */
@media (max-width: 480px) {
  .notification-item {
    flex-direction: column;
    gap: 6px;
  }
}

/* ─── Settings page ──────────────────────────────── */
@media (max-width: 480px) {
  .settings-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── Toast notifications ────────────────────────── */
.mm-toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,20,22,0.92);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  z-index: 9999;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  white-space: normal;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: toast-in var(--duration-base) var(--ease-bounce) forwards;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── Modal overlay ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,20,22,0.6);
  z-index: 500;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}
.modal-sheet {
  background: var(--color-surface-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-5);
  animation: sheet-up var(--duration-base) var(--ease-bounce) forwards;
}
@keyframes sheet-up {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ─── Muted text helper ──────────────────────────── */
.muted { color: var(--color-text-light-muted); font-size: var(--fs-sm); }

/* ─── Divider ────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--color-border-light);
  margin: var(--space-4) 0;
  border-radius: 1px;
}

/* ─── Plan cards on payment/upgrade page ─────────── */
@media (max-width: 480px) {
  .plan-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .plan-card { padding: var(--space-4) !important; }
}

/* ─── App Header V2 Mobile ───────────────────────── */
@media (max-width: 480px) {
  .app-lang-pill-v2 {
    padding: 4px 8px;
    font-size: 10px;
  }
  .app-lang-pill-v2 .lang-ta, .app-lang-pill-v2 .lang-en {
    display: inline;
  }
  .app-theme-btn-v2, .app-notif-btn {
    width: 32px;
    height: 32px;
  }
  .app-header-actions {
    gap: 6px;
  }
}

/* ─── App Download Hub ───────────────────────────── */
@media (max-width: 480px) {
  .app-download-hero {
    padding: var(--space-5) var(--space-4) !important;
  }
  .app-download-hero h1 {
    font-size: 1.4rem !important;
  }
  .download-cta-btn {
    font-size: var(--fs-sm) !important;
    padding: 14px 20px !important;
  }
  .feature-grid {
    grid-template-columns: 1fr !important;
  }
  .stat-counter-box .stat-number {
    font-size: 1.8rem !important;
  }
}

/* ─── Porutham Responsive Form ───────────────────── */
@media (max-width: 600px) {
  .por-form-section {
    grid-template-columns: 1fr !important;
  }
  .por-calc-btn-wrap {
    grid-column: 1 !important;
  }
  .por-table { font-size: 12px; }
  .por-table th, .por-table td { padding: 8px 10px !important; }
}

/* ─── Settings Page Mobile ───────────────────────── */
@media (max-width: 480px) {
  .settings-card {
    padding: var(--space-3) var(--space-4) !important;
  }
  .pin-input-group input {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ─── Prevent dark select field white text on white bg ── */
[data-theme="dark"] select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea {
  color: var(--color-text-dark) !important;
  background-color: var(--color-surface-dark) !important;
  border-color: var(--color-border-dark) !important;
}

/* ════════════════════════════════════════════════════════
   EXTRA RESPONSIVE FIXES — 375px (iPhone SE & Android S)
   Vendor, User Dashboard, Admin, Browse Matches grids
   ════════════════════════════════════════════════════════ */

/* ─── User Dashboard KPI row ─── */
@media (max-width: 375px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-2) !important;
  }
  .kpi-val { font-size: 1.2rem !important; }
  .qa-row {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--space-1) !important;
  }
  .qa-icon { width: 32px !important; height: 32px !important; font-size: 0.9rem !important; }
  .qa-btn { font-size: 9px !important; padding: var(--space-2) 2px !important; }
  .match-mini-card { flex: 0 0 120px !important; }
}

/* ─── Vendor App stat-grid ─── */
@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 375px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-2) !important;
  }
  .stat-tile { padding: var(--space-3) var(--space-2) !important; }
  .stat-value { font-size: 1.4rem !important; }
}

/* ─── Admin Panel KPI grid ─── */
@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .admin-dashboard-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 375px) {
  .kpi-grid {
    grid-template-columns: 1fr !important;
  }
  .kpi-tile { padding: var(--space-3) var(--space-3) !important; }
}

/* ─── Browse Matches Grid (user-app) ─── */
@media (max-width: 480px) {
  .profile-card-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 375px) {
  .profile-card-grid {
    grid-template-columns: 1fr !important;
  }
  .pm-card-img-wrap { height: 180px !important; }
}

/* ─── Vendor Add-Profile form grid ─── */
@media (max-width: 480px) {
  .grid-2col {
    grid-template-columns: 1fr !important;
  }
  .form-wrap { padding: var(--space-3) !important; }
}

/* ─── Verification Queue VQ cards ─── */
@media (max-width: 480px) {
  .vq-stats-row { flex-direction: column !important; }
  .vq-stat-card { flex: unset !important; width: 100% !important; }
}

/* ─── Admin Hero Banner ─── */
@media (max-width: 375px) {
  .admin-hero-banner {
    padding: var(--space-3) !important;
    flex-direction: column !important;
    gap: var(--space-3) !important;
  }
  .admin-hero-title { font-size: 15px !important; }
  .quick-actions { gap: 6px !important; }
  .quick-btn { font-size: 11px !important; padding: 7px 10px !important; }
}

/* ─── Footer grid (already handled, but ensure 375px) ─── */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ─── FAB positioning on mobile ─── */
.mm-fab-container, .fab {
  bottom: 150px !important;
}
@media (max-width: 375px) {
  .mm-fab-container, .fab {
    bottom: 150px !important;
    right: 10px !important;
    gap: 8px !important;
  }
  .mm-fab-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
}


/* ─── Bottom Nav safe area + 375px ─── */
@media (max-width: 375px) {
  .bottom-nav {
    grid-template-columns: repeat(5, 1fr) !important;
    height: 60px !important;
    padding: 2px 4px calc(2px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .bottom-nav .bn-item {
    min-height: 44px !important;
    font-size: 9px !important;
    padding: 2px 2px !important;
  }
  .bottom-nav .bn-icon {
    width: 22px !important;
    height: 20px !important;
  }
  .bottom-nav .bn-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .bottom-nav .bn-label { font-size: 9px !important; }
}

/* ─── Section headers on small screens ─── */
@media (max-width: 375px) {
  .section-title { font-size: var(--fs-sm) !important; }
  .section-heading h2 { font-size: var(--fs-sm) !important; }
}

/* ─── Form fields on 375px ─── */
@media (max-width: 375px) {
  input, select, textarea {
    font-size: var(--fs-sm) !important;
  }
  .field label { font-size: 11px !important; }
  .btn {
    padding: 10px 14px !important;
    font-size: var(--fs-sm) !important;
  }
}

/* ─── Container spacing fix 320px ultra-small ─── */
@media (max-width: 320px) {
  .container {
    padding-inline: var(--space-2) !important;
  }
}

/* ─── Comprehensive 375px Mobile View Enhancements ─── */
@media (max-width: 375px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .app-shell {
    overflow-x: hidden;
  }

  .app-topbar {
    padding: 0 10px !important;
    height: 52px !important;
  }

  .topbar-title {
    font-size: 13px !important;
  }

  .role-pill {
    padding: 2px 6px !important;
    font-size: 8px !important;
  }

  .avatar-name {
    display: none !important;
  }

  /* Dashboard Welcome Banner 375px */
  .dash-welcome {
    padding: var(--space-3) var(--space-3) !important;
  }

  .welcome-name {
    font-size: 1.1rem !important;
  }

  .welcome-sub {
    font-size: 11px !important;
  }

  .welcome-avatar {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.1rem !important;
  }

  /* Recent Matches Horizontal Scroll at 375px */
  .recent-matches-scroll {
    gap: 8px !important;
    padding-bottom: 8px !important;
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory;
  }

  .recent-matches-scroll .match-mini-card {
    flex: 0 0 125px !important;
    width: 125px !important;
    scroll-snap-align: start;
  }

  .match-mini-img {
    height: 95px !important;
  }

  .match-mini-body {
    padding: 6px 8px !important;
  }

  .match-mini-name {
    font-size: 11px !important;
  }

  .match-mini-meta {
    font-size: 9px !important;
  }

  /* Data Table & Card Scrollability */
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    border-radius: var(--radius-base);
  }

  .data-table {
    min-width: 520px;
    font-size: 12px !important;
  }

  .data-table th, .data-table td {
    padding: 8px 10px !important;
  }

  /* App Sidebar drawer on 375px */
  .app-sidebar {
    width: 270px !important;
    max-width: 85vw !important;
  }

  /* 375px Strict Viewport & Form Fit Safety */
  body, html {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .container, .content-area, .admin-wrapper, .support-wrapper {
    padding-inline: 12px !important;
  }

  .kpi-grid, .stat-grid, .admin-dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .form-row-2, .form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  input, select, textarea {
    font-size: 16px !important; /* Fix iOS zoom */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-sheet, .modal {
    max-width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 16px !important;
  }
}

/* ─── Mobile Navigation Drawer Footer & Close Safety ─── */
@media (max-width: 768px) {
  .drawer-footer,
  .mm-drawer-footer,
  .sidebar-footer {
    margin-bottom: 120px !important;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #080a12;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .sidebar.open {
    transform: translateX(0);
  }
}




