/* ==========================================================================
   KafePOS Design System — Warm Espresso & Cream
   High-contrast pricing, touch-friendly POS controls, responsive mobile-to-desktop
   ========================================================================== */

:root {
  --bg-page: #F7F3EC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1E9DD;
  --bg-espresso: #231915;
  --bg-espresso-hover: #362720;

  --text-primary: #1D1512;
  --text-secondary: #5C4B43;
  --text-muted: #8A766B;

  --accent: #B45309;
  --accent-hover: #92400E;
  --accent-soft: #FEF3C7;
  --accent-border: #F59E0B;

  --success: #047857;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;

  --danger: #BE123C;
  --danger-bg: #FFF1F2;
  --danger-border: #FECDD3;

  --info: #1D4ED8;
  --info-bg: #EFF6FF;

  --border: #E5DDD0;
  --border-strong: #D0C3B1;

  --shadow-sm: 0 1px 2px rgba(29, 21, 18, 0.05);
  --shadow-md: 0 6px 20px rgba(29, 21, 18, 0.07);
  --shadow-lg: 0 18px 40px rgba(29, 21, 18, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Boot Screen */
.boot-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

.boot-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
  user-select: none;
}

.btn:active:not(:disabled) {
  transform: scale(0.985);
}

.btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-espresso {
  background: var(--bg-espresso);
  color: #FFFFFF;
}

.btn-espresso:hover:not(:disabled) {
  background: var(--bg-espresso-hover);
}

.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-subtle);
}

.btn-danger {
  background: var(--danger);
  color: #FFFFFF;
}

.btn-danger:hover:not(:disabled) {
  background: #9F1239;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.input, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.textarea {
  min-height: 82px;
  resize: vertical;
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.14);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge-paid {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.badge-void {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.badge-cash {
  background: #ECFDF5;
  color: #065F46;
}

.badge-qris {
  background: #EFF6FF;
  color: #1E40AF;
}

.badge-transfer {
  background: #F5F3FF;
  color: #5B21B6;
}

.badge-owner {
  background: #FEF3C7;
  color: #92400E;
}

.badge-cashier {
  background: #E0F2FE;
  color: #075985;
}

.badge-preview {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
}

/* Alerts */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.alert-danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--danger);
}

.alert-warning {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: #78350F;
}

.alert-info {
  background: var(--info-bg);
  border-color: #BFDBFE;
  color: #1E3A8A;
}

/* Login Screen */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(180, 83, 9, 0.12), transparent 36%),
    radial-gradient(circle at 88% 82%, rgba(35, 25, 21, 0.10), transparent 40%),
    var(--bg-page);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-espresso);
  color: #FDE68A;
  font-weight: 800;
  font-size: 1.35rem;
}

.login-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.login-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spaging: -0.02em;
}

.login-header p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-wrap {
  position: relative;
}

.password-wrap .input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.preview-box {
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #FFFBEB;
  border: 1px dashed #D97706;
}

.preview-box-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 6px;
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

/* App Shell */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 1.05rem;
}

.topbar-title {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.topbar-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-tab {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.nav-tab:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.nav-tab.active {
  background: var(--bg-espresso);
  color: #FFFFFF;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Main Content */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-pad {
  padding: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* POS Layout */
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}

.pos-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.pos-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pill {
  white-space: nowrap;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.86rem;
}

.pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 14px;
}

.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.menu-card:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.menu-card:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.menu-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  overflow: hidden;
}

.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-qty-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.menu-soldout-tag {
  position: absolute;
  inset: 0;
  background: rgba(29, 21, 18, 0.56);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.menu-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.menu-cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.menu-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.menu-price {
  margin-top: auto;
  padding-top: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}

/* POS Cart Panel */
.cart-panel {
  position: sticky;
  top: 80px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 100px);
}

.cart-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}

.cart-empty {
  text-align: center;
  padding: 36px 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FCFBF8;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.cart-item-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-note {
  font-size: 0.78rem;
  color: var(--accent-hover);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 2px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-subtle);
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
}

.qty-btn:hover {
  background: var(--border);
}

.qty-val {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.cart-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FDFBF7;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.method-btn {
  min-height: 44px;
  padding: 8px 6px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-surface);
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
}

.method-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.cash-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-cash-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quick-cash-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  font-size: 0.78rem;
  font-weight: 700;
}

.quick-cash-chip:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mobile-cart-bar {
  display: none;
}

/* Filters & Tables */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 155px;
  flex: 1;
}

.table-wrap {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

th {
  background: #FAF6EE;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

tbody tr:hover {
  background: #FCF9F4;
}

tbody tr:last-child td {
  border-bottom: none;
}

.text-right {
  text-align: right;
}

/* KPI & Recap Grids */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.kpi-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-value {
  margin-top: 8px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.kpi-sub {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.recap-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.method-share-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.method-share-row:last-child {
  border-bottom: none;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

/* Menu Admin Cards */
.menu-admin-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(29, 21, 18, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* Receipt styling */
.receipt-paper {
  background: #FFFDF9;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.88rem;
}

.receipt-center {
  text-align: center;
}

.receipt-divider {
  border: none;
  border-top: 1px dashed var(--border-strong);
  margin: 12px 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0;
}

/* Toasts */
.toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  background: var(--bg-espresso);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid var(--accent-border);
}

.toast.toast-error {
  background: #881337;
  border-left-color: #FDA4AF;
}

.toast.toast-success {
  background: #064E3B;
  border-left-color: #6EE7B7;
}

/* Print Rules */
.print-only {
  display: none;
}

@media print {
  body.printing-receipt #app-root,
  body.printing-receipt #modal-root,
  body.printing-receipt #toast-container {
    display: none !important;
  }

  body.printing-receipt #print-area {
    display: block !important;
    width: 78mm;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #000000;
  }

  body.printing-recap .no-print,
  body.printing-recap .topbar,
  body.printing-recap #toast-container {
    display: none !important;
  }
}

/* Responsive Tablet & Mobile */
@media (max-width: 980px) {
  .pos-layout {
    grid-template-columns: 1fr;
    padding-bottom: 84px;
  }

  .cart-panel {
    position: static;
    max-height: none;
  }

  .mobile-cart-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-espresso);
    color: #FFFFFF;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 640px) {
  .main-content {
    padding: 14px;
  }

  .login-card {
    padding: 24px 20px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
