:root {
    --primary: #FF4B2B;
    --primary-dark: #E03A1C;
    --primary-light: #FFF0EE;
    --secondary: #1A1A2E;
    --accent: #FFB800;
    --accent-light: #FFF9E6;
    --success: #00C896;
    --success-light: #E6FAF5;
    --info: #0099FF;
    --info-light: #E6F4FF;
    --bg: #F5F5F7;
    --card: #FFFFFF;
    --border: #EBEBEB;
    --text: #1A1A2E;
    --text-muted: #888;
    --text-light: #BBB;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 4px 24px rgba(0,0,0,0.09);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.07);
    --nav-h: 64px;
    --header-h: 60px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  html, body { height: 100%; font-family: 'Nunito Sans', sans-serif; background: var(--bg); color: var(--text); overflow: hidden; }

  /* LAYOUT CONTAINER */
  .app { display: flex; height: 100vh; overflow: hidden; }
  .sidebar { width: 260px; background: var(--secondary); color: #fff; display: flex; flex-direction: column; flex-shrink: 0; overflow-y: auto; }
  .main-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
  .top-bar { height: 56px; background: var(--card); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 24px; gap: 16px; flex-shrink: 0; }
  .content-area { flex: 1; overflow: hidden; display: flex; }

  /* PHONE FRAME */
  .phone-frame { width: 390px; height: 100%; background: var(--card); flex-shrink: 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; }
  .phone-header { height: var(--header-h); background: var(--card); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 16px; gap: 12px; flex-shrink: 0; position: relative; z-index: 10; }
  .phone-body { flex: 1; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
  .phone-nav { height: var(--nav-h); background: var(--card); border-top: 1px solid var(--border); display: flex; align-items: center; flex-shrink: 0; }

  /* SIDEBAR STYLES */
  .sidebar-logo { padding: 24px 20px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .sidebar-logo .logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Nunito'; font-weight: 900; font-size: 18px; color: #fff; }
  .sidebar-logo span { font-family: 'Nunito'; font-weight: 800; font-size: 17px; color: #fff; }
  .sidebar-section { padding: 16px 12px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.35); }
  .sidebar-item { display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6); cursor: pointer; border-radius: 10px; margin: 2px 8px; transition: all 0.15s; }
  .sidebar-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
  .sidebar-item.active { background: var(--primary); color: #fff; }
  .sidebar-item svg { width: 18px; height: 18px; flex-shrink: 0; }
  .sidebar-item .badge { margin-left: auto; background: var(--primary); color: #fff; border-radius: 20px; font-size: 11px; font-weight: 700; padding: 2px 7px; min-width: 20px; text-align: center; }
  .sidebar-item.active .badge { background: rgba(255,255,255,0.25); }
  .sidebar-store { margin: 12px; padding: 14px; background: rgba(255,255,255,0.06); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
  .sidebar-store .store-name { font-weight: 700; font-size: 13px; color: #fff; }
  .sidebar-store .store-plan { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }
  .store-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; margin-top: 8px; }
  .store-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
  .store-status span { color: var(--success); }

  /* TOP BAR */
  .top-bar h1 { font-family: 'Nunito'; font-weight: 800; font-size: 18px; flex: 1; }
  .top-bar-actions { display: flex; align-items: center; gap: 10px; }
  .btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: all 0.15s; font-family: inherit; }
  .btn-primary { background: var(--primary); color: #fff; }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
  .btn-outline:hover { background: var(--bg); }
  .btn-sm { padding: 6px 12px; font-size: 12px; }
  .btn-icon { padding: 8px; border-radius: var(--radius-sm); background: transparent; border: 1.5px solid var(--border); color: var(--text); cursor: pointer; display: flex; align-items: center; }

  /* PANELS */
  .panel { display: none; padding: 24px; flex: 1; overflow-y: auto; }
  .panel.active { display: block; }

  /* CARDS */
  .card { background: var(--card); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
  .card + .card { margin-top: 16px; }
  .card-title { font-family: 'Nunito'; font-weight: 800; font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }

  /* STATS GRID */
  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }
  .stat-card { background: var(--card); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); }
  .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
  .stat-value { font-family: 'Nunito'; font-weight: 900; font-size: 26px; color: var(--text); }
  .stat-value.green { color: var(--success); }
  .stat-value.orange { color: var(--primary); }
  .stat-delta { font-size: 11px; font-weight: 700; margin-top: 4px; }
  .stat-delta.up { color: var(--success); }
  .stat-delta.down { color: var(--primary); }

  /* ORDERS TABLE */
  .orders-list { display: flex; flex-direction: column; gap: 10px; }
  .order-item { background: var(--card); border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--border); display: flex; align-items: center; gap: 14px; cursor: pointer; transition: box-shadow 0.15s; }
  .order-item:hover { box-shadow: var(--shadow-sm); }
  .order-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--primary); flex-shrink: 0; }
  .order-info { flex: 1; }
  .order-name { font-weight: 700; font-size: 14px; }
  .order-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .order-right { text-align: right; }
  .order-value { font-family: 'Nunito'; font-weight: 800; font-size: 15px; }
  .status-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-top: 4px; }
  .status-new { background: #FFF0EE; color: var(--primary); }
  .status-preparing { background: #FFF9E6; color: #B87000; }
  .status-delivering { background: var(--info-light); color: var(--info); }
  .status-done { background: var(--success-light); color: #007A5A; }
  .status-cancelled { background: #F5F5F7; color: var(--text-muted); }

  /* PRODUCTS */
  .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .product-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: box-shadow 0.15s; }
  .product-card:hover { box-shadow: var(--shadow-sm); }
  .product-img { width: 100%; height: 100px; object-fit: cover; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 32px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-price { font-family: 'Nunito'; font-weight: 800; font-size: 14px; color: var(--primary); margin-top: 4px; }
  .product-price .old { font-size: 11px; color: var(--text-muted); text-decoration: line-through; font-weight: 600; font-family: inherit; }
  .product-stock { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .product-active { display: flex; align-items: center; gap: 5px; font-size: 11px; margin-top: 6px; }
  .toggle { width: 30px; height: 16px; background: var(--border); border-radius: 20px; cursor: pointer; position: relative; transition: background 0.2s; flex-shrink: 0; }
  .toggle.on { background: var(--success); }
  .toggle::after { content:''; position: absolute; width: 12px; height: 12px; background: #fff; border-radius: 50%; top: 2px; left: 2px; transition: left 0.2s; }
  .toggle.on::after { left: 16px; }

  /* FORM ELEMENTS */
  .form-group { margin-bottom: 16px; }
  .form-label { display: block; font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
  .form-input { width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); font-size: 14px; font-family: inherit; color: var(--text); background: var(--card); outline: none; transition: border-color 0.15s; }
  .form-input:focus { border-color: var(--primary); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-row.three { grid-template-columns: repeat(3, 1fr); }

  /* PHONE UI ELEMENTS */
  .ph-header-logo { font-family: 'Nunito'; font-weight: 900; font-size: 20px; color: var(--primary); }
  .ph-address { flex: 1; }
  .ph-address .label { font-size: 10px; color: var(--text-muted); font-weight: 600; }
  .ph-address .value { font-size: 13px; font-weight: 700; color: var(--text); }
  .ph-cart-btn { width: 38px; height: 38px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; }
  .ph-cart-btn .count { position: absolute; top: -5px; right: -5px; background: var(--accent); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #1A1A2E; }
  .ph-search { margin: 0 16px 16px; position: relative; }
  .ph-search input { width: 100%; padding: 11px 14px 11px 40px; border-radius: 50px; border: none; background: var(--bg); font-size: 14px; font-family: inherit; color: var(--text); outline: none; }
  .ph-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); width: 16px; height: 16px; }

  /* BANNER */
  .ph-banner { margin: 0 16px 20px; background: linear-gradient(135deg, var(--primary) 0%, #FF8C42 100%); border-radius: var(--radius-lg); padding: 20px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
  .ph-banner::before { content: ''; position: absolute; right: -20px; top: -20px; width: 100px; height: 100px; background: rgba(255,255,255,0.1); border-radius: 50%; }
  .ph-banner::after { content: ''; position: absolute; right: 20px; bottom: -30px; width: 70px; height: 70px; background: rgba(255,255,255,0.08); border-radius: 50%; }
  .ph-banner h3 { font-family: 'Nunito'; font-weight: 900; font-size: 18px; color: #fff; line-height: 1.2; }
  .ph-banner p { font-size: 12px; color: rgba(255,255,255,0.85); margin-top: 4px; }
  .ph-banner .btn-white { background: #fff; color: var(--primary); padding: 8px 14px; border-radius: 20px; font-size: 12px; font-weight: 800; border: none; cursor: pointer; margin-top: 10px; display: inline-block; }
  .banner-emoji { font-size: 52px; position: relative; z-index: 1; }

  /* CATEGORIES */
  .ph-section-title { font-family: 'Nunito'; font-weight: 800; font-size: 16px; margin: 0 16px 12px; display: flex; align-items: center; justify-content: space-between; }
  .ph-section-title a { font-size: 12px; color: var(--primary); font-weight: 600; font-family: 'Nunito Sans'; }
  .ph-cats { display: flex; gap: 10px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
  .ph-cats::-webkit-scrollbar { display: none; }
  .ph-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; cursor: pointer; }
  .ph-cat .icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; transition: transform 0.15s; }
  .ph-cat.active .icon { transform: scale(1.08); }
  .ph-cat span { font-size: 11px; font-weight: 700; color: var(--text-muted); }
  .ph-cat.active span { color: var(--primary); }

  /* PRODUCT LIST (phone) */
  .ph-products { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .ph-product { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 10px; border: 1px solid var(--border); cursor: pointer; }
  .ph-product .img { width: 70px; height: 70px; border-radius: 12px; font-size: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg); flex-shrink: 0; }
  .ph-product-info { flex: 1; }
  .ph-product-name { font-weight: 700; font-size: 14px; }
  .ph-product-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
  .ph-product-price { font-family: 'Nunito'; font-weight: 900; font-size: 16px; color: var(--primary); }
  .ph-product-unit { font-size: 11px; color: var(--text-muted); font-family: 'Nunito Sans'; }
  .ph-add-btn { width: 36px; height: 36px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 300; flex-shrink: 0; cursor: pointer; border: none; }

  /* BOTTOM NAV */
  .ph-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0; cursor: pointer; position: relative; }
  .ph-nav-item svg { width: 22px; height: 22px; color: var(--text-muted); }
  .ph-nav-item span { font-size: 10px; font-weight: 700; color: var(--text-muted); }
  .ph-nav-item.active svg, .ph-nav-item.active span { color: var(--primary); }
  .ph-nav-item .dot { position: absolute; top: 8px; right: calc(50% - 14px); width: 7px; height: 7px; background: var(--primary); border-radius: 50%; }

  /* CHECKOUT PHONE */
  .ph-checkout { padding: 0 16px; }
  .ph-checkout .section { background: var(--card); border-radius: var(--radius); padding: 16px; border: 1px solid var(--border); margin-bottom: 12px; }
  .ph-checkout .section-title { font-family: 'Nunito'; font-weight: 800; font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .ph-checkout .section-title svg { width: 18px; height: 18px; color: var(--primary); }
  .ph-input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--border); font-size: 14px; font-family: inherit; color: var(--text); background: var(--bg); outline: none; }
  .ph-input:focus { border-color: var(--primary); background: var(--card); }
  .payment-option { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; border: 1.5px solid var(--border); margin-bottom: 8px; cursor: pointer; transition: all 0.15s; }
  .payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
  .payment-option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
  .payment-option.selected .radio { border-color: var(--primary); }
  .payment-option.selected .radio::after { content: ''; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; }
  .payment-option .p-label { font-size: 14px; font-weight: 700; }
  .payment-option .p-icon { font-size: 20px; }

  /* ORDER TRACK */
  .order-track { padding: 0 16px 24px; }
  .track-steps { display: flex; flex-direction: column; gap: 0; }
  .track-step { display: flex; gap: 14px; padding-bottom: 0; }
  .track-step-indicator { display: flex; flex-direction: column; align-items: center; }
  .track-step-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
  .track-step-circle.done { background: var(--success-light); color: var(--success); }
  .track-step-circle.active { background: var(--primary-light); color: var(--primary); }
  .track-step-circle.pending { background: var(--bg); color: var(--text-muted); }
  .track-step-line { width: 2px; flex: 1; min-height: 24px; margin: 4px 0; }
  .track-step-line.done { background: var(--success); }
  .track-step-line.pending { background: var(--border); }
  .track-step-content { padding-bottom: 24px; flex: 1; }
  .track-step-title { font-weight: 700; font-size: 14px; }
  .track-step-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

  /* ADMIN PANELS */
  .chart-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .chart-bar-label { font-size: 12px; color: var(--text-muted); width: 90px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chart-bar-outer { flex: 1; background: var(--bg); border-radius: 20px; height: 10px; overflow: hidden; }
  .chart-bar-inner { height: 100%; background: var(--primary); border-radius: 20px; }
  .chart-bar-val { font-size: 12px; font-weight: 700; color: var(--text); width: 46px; text-align: right; }

  /* TABS */
  .tabs { display: flex; gap: 2px; background: var(--bg); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 20px; }
  .tab { flex: 1; padding: 8px; border-radius: 8px; font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; color: var(--text-muted); transition: all 0.15s; }
  .tab.active { background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); }

  /* FILTER BAR */
  .filter-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { display: flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; border: 1.5px solid var(--border); background: var(--card); color: var(--text-muted); cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all 0.15s; }
  .filter-chip.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
  .filter-chip .chip-dot { width: 8px; height: 8px; border-radius: 50%; }

  /* SETTINGS */
  .settings-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .settings-row:last-child { border-bottom: none; }
  .settings-row .label { font-size: 14px; font-weight: 600; }
  .settings-row .sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

  /* MASTER PANEL */
  .stores-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .store-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 16px; cursor: pointer; transition: box-shadow 0.15s; }
  .store-card:hover { box-shadow: var(--shadow-sm); }
  .store-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .store-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
  .store-card-name { font-weight: 800; font-size: 14px; }
  .store-card-type { font-size: 11px; color: var(--text-muted); }
  .store-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .store-mini-stat { background: var(--bg); border-radius: 8px; padding: 8px; }
  .store-mini-stat .v { font-family: 'Nunito'; font-weight: 800; font-size: 15px; }
  .store-mini-stat .l { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

  /* PANES RIGHT */
  .detail-pane { flex: 1; padding: 24px; overflow-y: auto; background: var(--bg); }

  /* Pill badge */
  .pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
  .pill-green { background: var(--success-light); color: #007A5A; }
  .pill-orange { background: var(--accent-light); color: #8A6200; }
  .pill-red { background: var(--primary-light); color: var(--primary); }
  .pill-blue { background: var(--info-light); color: var(--info); }
  .pill-gray { background: var(--bg); color: var(--text-muted); }

  /* WEIGHT SELECTOR */
  .weight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
  .weight-btn { padding: 10px; border-radius: 10px; border: 1.5px solid var(--border); text-align: center; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; background: var(--card); }
  .weight-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .sidebar { display: none; }
    .phone-frame { width: 100%; border-right: none; }
    .detail-pane { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stores-grid { grid-template-columns: 1fr; }
  }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 20px; }

  /* NOTIFICATION */
  .notif {
  position: fixed;
  left: 50%;
  right: auto;
  top: auto;
  bottom: 88px;
  max-width: calc(100vw - 28px);
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  transform: translate(-50%, 220px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 9999;
}

.notif.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
  .notif-icon { font-size: 20px; }

  /* MODAL OVERLAY */
  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; display: none; align-items: center; justify-content: center; }
  .modal-overlay.open { display: flex; }
  .modal-box { background: var(--card); border-radius: var(--radius-lg); padding: 24px; width: 480px; max-width: 95vw; max-height: 90vh; overflow-y: auto; }
  .modal-title { font-family: 'Nunito'; font-weight: 900; font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
  .modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-muted); line-height: 1; padding: 4px; }

  /* PIX MODAL */
  .pix-qr { width: 180px; height: 180px; background: var(--bg); border-radius: 16px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-muted); border: 2px dashed var(--border); }
  .pix-key { background: var(--bg); border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 700; text-align: center; word-break: break-all; margin-bottom: 12px; }

/* Integração API: ajustes estruturais sem redesign */
body.public-page { overflow:auto; }
.store-shell { min-height:100vh; display:flex; justify-content:center; background:var(--bg); padding:18px; }
.store-shell .phone-frame { height:calc(100vh - 36px); max-height:820px; border:1px solid var(--border); border-radius:24px; overflow:hidden; box-shadow:var(--shadow); }
.admin-page .app { height:100vh; }
.empty-state { padding:24px; text-align:center; color:var(--text-muted); font-size:14px; }
.error-state { padding:14px; border-radius:12px; background:var(--primary-light); color:var(--primary); font-weight:700; font-size:13px; margin:12px 16px; }
.loading-state { padding:24px; text-align:center; color:var(--text-muted); font-size:14px; }
.link-btn { border:0; background:none; color:var(--primary); font-weight:800; cursor:pointer; font-family:inherit; }
.qty-control { display:flex; align-items:center; gap:8px; }
.qty-control button { width:28px; height:28px; border:0; border-radius:8px; background:var(--primary); color:#fff; font-weight:900; cursor:pointer; }
.cart-item { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); }
.cart-item:last-child { border-bottom:0; }
.cart-item .img { width:54px; height:54px; border-radius:12px; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; }
.summary-row { display:flex; justify-content:space-between; font-size:14px; margin:8px 0; }
.summary-row.total { font-family:'Nunito'; font-weight:900; font-size:20px; color:var(--primary); padding-top:10px; border-top:1px solid var(--border); }
.admin-login { min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--bg); padding:20px; }
.admin-login .card { width:390px; max-width:100%; }
.table-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.hidden { display:none !important; }

.nav-count { position:absolute; top:5px; right:calc(50% - 20px); min-width:18px; height:18px; padding:0 5px; border-radius:12px; background:var(--accent); color:var(--secondary); font-size:10px; font-weight:900; display:none; align-items:center; justify-content:center; line-height:18px; }
.nav-count.show { display:flex; }
.qty-selector { display:flex; align-items:center; justify-content:center; gap:10px; }
.qty-selector button { width:44px; height:44px; border:0; border-radius:12px; background:var(--primary); color:#fff; font-size:24px; cursor:pointer; }
.qty-selector input { width:90px; height:44px; text-align:center; border:1.5px solid var(--border); border-radius:12px; font-size:18px; font-weight:800; font-family:inherit; }
.quantity-product-thumb { width:58px; height:58px; border-radius:14px; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:28px; overflow:hidden; flex-shrink:0; }
.quantity-product-name { font-weight:800; font-size:15px; }
.quantity-product-price { color:var(--primary); font-weight:900; margin-top:3px; }

/* PIX LOCAL - TELA DE ACOMPANHAMENTO DO PEDIDO */
#order-box .pix-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--primary-light);
}

#order-box .pix-box h3 {
  font-family: 'Nunito';
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

#order-box .pix-box p {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}

#order-box .pix-qrcode {
  width: 190px;
  min-height: 190px;
  margin: 12px auto;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
}

#order-box .pix-qrcode img,
#order-box .pix-qrcode canvas {
  display: block;
  max-width: 180px;
  max-height: 180px;
}

#order-box .pix-qrcode-fallback {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
}

#order-box .pix-label {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

#order-box .pix-textarea {
  width: 100%;
  min-height: 86px;
  max-height: 130px;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  resize: vertical;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text);
  background: #fff;
  outline: none;
  word-break: break-all;
}

#order-box #copy-pix {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

#order-box .pix-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

#order-box .pix-meta p {
  margin-bottom: 5px;
  font-size: 12px;
  word-break: break-word;
}

#order-box .pix-warning {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
}

#order-box .order-items {
  margin: 14px 0;
}

#order-box .order-info {
  margin-top: 14px;
}

#order-box .order-info p {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.35;
}

#order-box .order-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

#order-box .order-card__header h2 {
  font-family: 'Nunito';
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--text);
}

#order-box .order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

#order-box .order-totals {
  margin-bottom: 14px;
}

#order-box .order-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 13px;
}

#order-box .order-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 18px !important;
  font-family: 'Nunito';
  font-weight: 900;
  color: var(--primary);
}

#order-box .order-item {
  cursor: default;
}

/* =========================================================
   MercadoFácil — Admin responsivo corrigido
   Correção aplicada em style.css para não depender de arquivos extras.
   - Menu lateral mobile com botão ☰ injetado por admin-common.js
   - Conteúdo do admin rolável no celular
   - Banners e produtos sem botões cortados
========================================================= */

.admin-mobile-menu-btn,
.admin-mobile-backdrop {
  display: none;
}

@media (max-width: 900px) {
  html,
  body.admin-page {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.admin-page .app {
    height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
  }

  body.admin-page .sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 86vw;
    height: 100dvh;
    z-index: 10000;
    transform: translateX(-110%);
    transition: transform .22s ease;
    overflow-y: auto;
    box-shadow: 18px 0 40px rgba(0, 0, 0, .25);
    pointer-events: none;
  }

  body.admin-page.admin-menu-open .sidebar {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.admin-page .admin-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, .48);
    z-index: 9999;
  }

  body.admin-page.admin-menu-open .admin-mobile-backdrop {
    display: block;
  }

  body.admin-page .admin-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    flex: 0 0 42px;
  }

  body.admin-page .main-area {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.admin-page .top-bar {
    height: auto;
    min-height: 58px;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    gap: 8px;
    flex-shrink: 0;
    overflow: hidden;
  }

  body.admin-page .top-bar h1 {
    min-width: 0;
    font-size: 20px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.admin-page .top-bar-actions {
    flex: 0 0 auto;
    gap: 6px;
    min-width: 0;
  }

  body.admin-page .top-bar-actions .btn {
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.admin-page .content-area {
    display: block;
    flex: 1;
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body.admin-page .panel {
    padding: 14px;
    width: 100% !important;
    max-width: 100%;
    overflow: visible;
  }

  body.admin-page .card {
    max-width: 100%;
    padding: 14px;
    overflow: hidden;
  }

  body.admin-page .form-row,
  body.admin-page .form-row.three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.admin-page input,
  body.admin-page select,
  body.admin-page textarea,
  body.admin-page .form-input {
    max-width: 100%;
  }

  body.admin-page .stats-grid,
  body.admin-page .stores-grid,
  body.admin-page .products-grid {
    grid-template-columns: 1fr;
  }

  body.admin-page .filter-bar {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  body.admin-page .modal-box {
    width: 94vw !important;
    max-width: 94vw !important;
    max-height: 88dvh;
  }
}

@media (max-width: 700px) {
  body.admin-page .top-bar-actions .btn-outline {
    display: none;
  }

  /* Banners/cupons/usuários: impede os botões de saírem da tela */
  body.admin-page #banners-list .order-item,
  body.admin-page #coupons-list .order-item,
  body.admin-page #users-list .order-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    cursor: default;
  }

  body.admin-page #banners-list .order-item > div,
  body.admin-page #coupons-list .order-item > div,
  body.admin-page #users-list .order-item > div {
    max-width: 100%;
  }

  body.admin-page #banners-list .order-info,
  body.admin-page #coupons-list .order-info,
  body.admin-page #users-list .order-info {
    width: 100%;
  }

  body.admin-page #banners-list .order-right,
  body.admin-page #coupons-list .order-right,
  body.admin-page #users-list .order-right {
    text-align: left;
  }

  body.admin-page #banners-list .table-actions,
  body.admin-page #coupons-list .table-actions,
  body.admin-page #users-list .table-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.admin-page #banners-list .table-actions .btn,
  body.admin-page #coupons-list .table-actions .btn,
  body.admin-page #users-list .table-actions .btn {
    flex: 1 1 96px;
    justify-content: center;
    min-width: 96px;
  }

  /* Produtos em lista: vira card no celular, sem cortar ações */
  body.admin-page .mf-products-list-toolbar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
  }

  body.admin-page .mf-products-list-actions {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
  }

  body.admin-page .mf-products-list-actions .form-input,
  body.admin-page .mf-products-list-actions .btn {
    width: 100%;
  }

  body.admin-page .mf-products-table-wrap {
    overflow: visible !important;
  }

  body.admin-page .mf-products-table,
  body.admin-page .mf-products-table thead,
  body.admin-page .mf-products-table tbody,
  body.admin-page .mf-products-table tr,
  body.admin-page .mf-products-table th,
  body.admin-page .mf-products-table td {
    display: block;
    width: 100%;
  }

  body.admin-page .mf-products-table thead {
    display: none;
  }

  body.admin-page .mf-products-table tr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 12px;
  }

  body.admin-page .mf-products-table td {
    border: 0 !important;
    padding: 7px 0 !important;
  }

  body.admin-page .mf-products-table td[data-label] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
  }

  body.admin-page .mf-products-table td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 86px;
    color: var(--text-muted);
    font-weight: 800;
  }

  body.admin-page .mf-products-table .mf-col-check,
  body.admin-page .mf-products-table .mf-col-image,
  body.admin-page .mf-products-table .mf-col-product,
  body.admin-page .mf-products-table .mf-col-actions {
    display: block !important;
  }

  body.admin-page .mf-products-table .mf-col-check::before,
  body.admin-page .mf-products-table .mf-col-image::before,
  body.admin-page .mf-products-table .mf-col-product::before,
  body.admin-page .mf-products-table .mf-col-actions::before {
    display: none;
  }

  body.admin-page .mf-products-table .mf-col-image img,
  body.admin-page .mf-products-table .mf-col-image .product-img,
  body.admin-page .mf-products-table .mf-col-image .mf-product-image {
    max-width: 72px;
    max-height: 72px;
  }

  body.admin-page .mf-products-table .mf-col-product {
    padding-top: 4px !important;
  }

  body.admin-page .mf-products-table .mf-product-title {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  body.admin-page .mf-products-table .mf-product-desc {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    margin-top: 3px;
  }

  body.admin-page .mf-products-table .mf-col-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px !important;
  }

  body.admin-page .mf-products-table .mf-col-actions .btn {
    flex: 1 1 105px;
    justify-content: center;
  }
}
/* =========================================================
   MercadoFácil — Front público mobile em tela cheia
   Correção: remove o visual encaixotado da loja no celular,
   evita corte do menu inferior e amplia a área do logo.
========================================================= */

@media (max-width: 700px) {
  html,
  body.public-page {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden !important;
    background: #fff !important;
  }

  body.public-page .store-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    background: #fff !important;
  }

  body.public-page .store-shell .phone-frame {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: none !important;
    min-height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  body.public-page .phone-header {
    min-height: 74px !important;
    height: 74px !important;
    padding: 0 18px !important;
    gap: 12px !important;
  }

  body.public-page .ph-header-logo {
    width: 62px !important;
    min-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body.public-page .ph-header-logo img,
  body.public-page .phone-header img,
  body.public-page .store-logo img {
    width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    display: block !important;
  }

  body.public-page .ph-address .label {
    font-size: 12px !important;
  }

  body.public-page .ph-address .value {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }

  body.public-page .ph-cart-btn {
    width: 52px !important;
    height: 52px !important;
    border-radius: 15px !important;
    flex: 0 0 52px !important;
  }

  body.public-page .phone-body {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 30px) !important;
  }

  body.public-page .phone-nav {
    min-height: calc(var(--nav-h) + env(safe-area-inset-bottom)) !important;
    height: calc(var(--nav-h) + env(safe-area-inset-bottom)) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    flex-shrink: 0 !important;
  }

  body.public-page .ph-products {
    padding-bottom: 28px !important;
  }
}

/* Ajuste para celulares sem suporte ideal a 100dvh */
@supports not (height: 100dvh) {
  @media (max-width: 700px) {
    body.public-page .store-shell,
    body.public-page .store-shell .phone-frame {
      height: 100vh !important;
      min-height: 100vh !important;
    }
  }
}
/* =========================================================
   MercadoFácil — Front público desktop amplo
   Correção: no PC a loja deixa de parecer celular encaixotado.
   Mantém o celular em tela cheia pela regra mobile já existente.
========================================================= */

@media (min-width: 701px) {
  body.public-page {
    overflow: hidden !important;
    background: var(--bg) !important;
  }

  body.public-page .store-shell {
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 24px !important;
    margin: 0 !important;
    background: var(--bg) !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  body.public-page .store-shell .phone-frame {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
    height: calc(100vh - 48px) !important;
    max-height: none !important;
    border: 1px solid var(--border) !important;
    border-radius: 24px !important;
    box-shadow: var(--shadow) !important;
    background: #fff !important;
  }

  body.public-page .phone-header {
    height: 78px !important;
    min-height: 78px !important;
    padding: 0 28px !important;
    gap: 16px !important;
  }

  body.public-page .ph-header-logo {
    width: 68px !important;
    min-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body.public-page .ph-header-logo img,
  body.public-page .phone-header img,
  body.public-page .store-logo img {
    width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block !important;
  }

  body.public-page .ph-address .label {
    font-size: 13px !important;
  }

  body.public-page .ph-address .value {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  body.public-page .ph-cart-btn {
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
    flex: 0 0 54px !important;
  }

  body.public-page .phone-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 24px !important;
  }

  body.public-page .ph-search {
    margin-left: 28px !important;
    margin-right: 28px !important;
  }

  body.public-page .ph-section-title {
    margin-left: 28px !important;
    margin-right: 28px !important;
  }

  body.public-page .ph-cats {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  body.public-page .ph-products {
    padding-left: 28px !important;
    padding-right: 28px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.public-page .ph-product {
    min-height: 112px !important;
    padding: 14px !important;
  }

  body.public-page .ph-product .img {
    width: 86px !important;
    height: 86px !important;
  }

  body.public-page .ph-product-desc {
    max-width: none !important;
  }

  body.public-page .phone-nav {
    height: 70px !important;
    min-height: 70px !important;
  }
}

@media (min-width: 1100px) {
  body.public-page .ph-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Ajuste fino da posição da notificação por contexto */
@media (max-width: 700px) {
  body.public-page .notif {
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 18px) !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.public-page .notif:not(.show) {
    transform: translate(-50%, 240px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body.public-page .notif.show {
    transform: translate(-50%, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (min-width: 701px) {
  body.public-page .notif {
    bottom: 96px !important;
  }

  body.public-page .notif:not(.show) {
    transform: translate(-50%, 240px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body.public-page .notif.show {
    transform: translate(-50%, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

body.admin-page .notif {
  bottom: 22px !important;
}

body.admin-page .notif:not(.show) {
  transform: translate(-50%, 180px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
/* =========================================================
   MercadoFácil — Usuários responsivo
   Estrutura usada pelo admin-users.js corrigido.
========================================================= */

#users-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 140px auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 18px;
}

.user-main {
  min-width: 0;
}

.user-name {
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-email {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-role-status {
  text-align: right;
  min-width: 0;
}

.user-role {
  font-weight: 900;
  line-height: 1.15;
}

.user-status {
  margin-top: 4px;
  font-size: 12px;
}

.user-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .user-card {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 14px;
  }

  .user-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .user-main {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
  }

  .user-name {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    font-size: 16px;
  }

  .user-email {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
    font-size: 13px;
  }

  .user-role-status {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-left: 66px;
  }

  .user-role,
  .user-status {
    margin: 0;
    font-size: 13px;
  }

  .user-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-content: stretch;
  }

  .user-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
