/* Agro Share — Design System (tokens from Figma p.25) — Mobile App Layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-500: #329950;
  --primary-600: #267D42;
  --primary-700: #196132;
  --primary-100: #E0F4E5;
  --accent-500: #B07C3F;
  --accent-100: #F4E6D1;
  --gray-900: #1C2229;
  --gray-700: #4B5767;
  --gray-500: #7B899A;
  --gray-300: #C6CED7;
  --gray-200: #E5E9EE;
  --gray-100: #F3F5F7;
  --gray-50:  #F9FAFB;
  --bg:       #F4F5F7;
  --white:    #FFFFFF;
  --error:    #DC3232;
  --error-bg: #FCE8E8;
  --warning:  #F29C1B;
  --warning-bg:#FEF4E2;
  --success-bg:#E0F4E5;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(28, 34, 41, 0.06);
  --shadow:    0 4px 12px rgba(28, 34, 41, 0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

  --shell-w: 420px;
  --status-bar-h: 28px;
  --bottom-nav-h: 64px;
  --topbar-h: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  color: var(--gray-900);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  background: #d3d9e1;
  background-image: linear-gradient(135deg, #dde2e9 0%, #b9c2cf 100%);
}
a { color: var(--primary-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* ============================================
   APP SHELL: a centered, fixed-width "phone" column.
   Always uses the same internal layout (status / topbar / page / bottom-nav).
   On desktop: max-width with shadow + rounded corners visible inside a gray gradient.
   On mobile: fills the screen, no shadow.
   ============================================ */
.app-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell-w);
  height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Desktop: visible "device" with shadow & rounded corners */
@media (min-width: 480px) {
  body {
    padding: 24px 16px;
    min-height: 100vh;
  }
  .app-shell {
    height: min(844px, calc(100vh - 48px));
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
  }
}

/* Status bar (iOS-style strip) */
.status-bar {
  height: var(--status-bar-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 18px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--white);
}
.status-bar .sb-time { font-variant-numeric: tabular-nums; }
.status-bar .sb-icons { display: flex; gap: 5px; align-items: center; }
.status-bar .sb-bars { display: inline-flex; gap: 1.5px; align-items: flex-end; height: 12px; }
.status-bar .sb-bars span { width: 3px; background: currentColor; border-radius: 1px; }
.status-bar .sb-bars span:nth-child(1) { height: 4px; }
.status-bar .sb-bars span:nth-child(2) { height: 6px; }
.status-bar .sb-bars span:nth-child(3) { height: 8px; }
.status-bar .sb-bars span:nth-child(4) { height: 10px; }
.status-bar .sb-battery {
  width: 22px; height: 11px;
  border: 1px solid currentColor; border-radius: 3px;
  position: relative;
  display: inline-flex; align-items: center;
  padding: 1px;
}
.status-bar .sb-battery::after {
  content: ''; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 5px; background: currentColor; border-radius: 0 1px 1px 0;
}
.status-bar .sb-battery > span {
  display: block; height: 100%; width: 78%;
  background: currentColor; border-radius: 1px;
}
@media (max-width: 479px) {
  .status-bar { display: none; } /* on real mobile, the OS shows its own */
}

/* Topbar */
.topbar {
  height: var(--topbar-h);
  flex-shrink: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  gap: 8px;
}
.brand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary-600); font-size: 17px; }
.brand-icon { font-size: 20px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-700); flex-shrink: 0; }
.topbar .back-btn {
  background: transparent; border: 0; padding: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--gray-900); font-size: 20px;
  text-decoration: none; flex-shrink: 0;
}
.topbar .back-btn:hover { background: var(--gray-100); }
.topbar-title { font-weight: 600; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Scrollable content area */
main.page {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  scroll-behavior: smooth;
  position: relative;
}

.page-title { font-size: 22px; font-weight: 700; margin: 4px 0 4px; }
.page-subtitle { color: var(--gray-500); margin: 0 0 16px; font-size: 14px; }

/* Bottom nav */
.bottom-nav {
  flex-shrink: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  display: flex; justify-content: space-around;
  padding: 6px 4px 10px;
  height: var(--bottom-nav-h);
}
.bottom-nav .nav-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px;
  font-size: 10px;
  color: var(--gray-500);
  text-decoration: none;
  border-radius: var(--radius);
  text-align: center;
}
.bottom-nav .nav-item.is-active { color: var(--primary-600); font-weight: 600; }
.bottom-nav .nav-icon { font-size: 18px; }

/* Caption under the phone shell (desktop only) */
.phone-caption {
  display: none;
  text-align: center;
  color: rgba(28, 34, 41, 0.55);
  font-size: 12px;
  margin-top: 12px;
}
@media (min-width: 480px) {
  .phone-caption { display: block; }
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.h1 { font-size: 22px; font-weight: 700; margin: 0; }
.h2 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.caption { font-size: 12px; color: var(--gray-500); }
.label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-700); }
.muted { color: var(--gray-500); }
.text-error { color: var(--error); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  background: var(--gray-100); color: var(--gray-900);
  text-align: center;
  width: 100%;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  text-decoration: none;
  line-height: 1.2;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { background: var(--gray-200); color: var(--gray-500); cursor: not-allowed; }
.btn-primary { background: var(--primary-600); color: var(--white); border-color: var(--primary-600); }
.btn-primary:hover:not(:disabled) { background: var(--primary-700); border-color: var(--primary-700); }
.btn-primary:disabled { background: var(--gray-300); color: var(--gray-500); border-color: var(--gray-300); }
.btn-secondary { background: var(--white); color: var(--primary-600); border: 1px solid var(--primary-600); }
.btn-secondary:hover { background: var(--primary-100); }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); }
.btn-danger { background: var(--white); color: var(--error); border: 1px solid var(--error); }
.btn-danger:hover { background: var(--error-bg); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-row { display: grid; gap: 8px; }
.btn-row.cols-2 { grid-template-columns: 1fr 1fr; }

/* Sticky CTA at bottom of scrollable page */
.sticky-cta {
  position: sticky;
  bottom: 0;
  margin: 16px -16px -16px;
  padding: 12px 16px 16px;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
  z-index: 5;
}
.sticky-cta .btn { box-shadow: 0 4px 12px rgba(38,125,66,0.25); }

/* ============================================
   FORMS
   ============================================ */
.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(50, 153, 80, 0.18);
}
.textarea { resize: vertical; min-height: 80px; }
.input.is-error, .select.is-error, .textarea.is-error {
  border-color: var(--error);
  background: var(--error-bg);
  color: var(--error);
}
.field-error { color: var(--error); font-size: 12px; margin-top: 4px; }
.field.has-error .field-label { color: var(--error); }

.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.search-bar input { border: none; outline: none; flex: 1; font-size: 14px; background: transparent; min-width: 0; }

/* ============================================
   CHIPS
   ============================================ */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--primary-600); color: var(--white); border-color: var(--primary-600);
}
.chip:hover:not([aria-pressed="true"]):not(.is-active) { background: var(--gray-100); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.card-lg { padding: 20px; border-radius: var(--radius-lg); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-link:active { transform: scale(0.99); transition: transform .05s; }

/* Machine card */
.machine-card { display: flex; gap: 12px; align-items: stretch; }
.machine-thumb {
  width: 80px; height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}
.machine-thumb img { width: 100%; height: 100%; object-fit: cover; }
.machine-info { flex: 1; min-width: 0; }
.machine-title { font-weight: 700; font-size: 15px; color: var(--gray-900); margin: 0 0 4px; line-height: 1.3; }
.machine-meta { color: var(--gray-500); font-size: 12px; margin: 0 0 4px; }
.machine-loc { color: var(--gray-700); font-size: 12px; }
.machine-price { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--primary-100); color: var(--primary-700); border-radius: var(--radius); font-weight: 600; margin-top: 6px; font-size: 13px; }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; background: var(--accent-100); color: var(--accent-500); border-radius: var(--radius); font-size: 11px; font-weight: 500; margin-left: 6px; }

/* Big detail photo */
.detail-photo {
  width: calc(100% + 32px);
  margin: -16px -16px 12px;
  height: 220px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  position: relative;
}
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo .photo-fav {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: var(--shadow-sm);
  border: 0;
}

.spec-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.spec-grid > div {
  background: var(--gray-100);
  padding: 10px 12px;
  border-radius: var(--radius);
}
.spec-grid .caption { display: block; }
.spec-grid .val { font-weight: 600; color: var(--gray-900); font-size: 14px; margin-top: 2px; }

/* ============================================
   BANNERS
   ============================================ */
.banner {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 13px;
  border: 1px solid transparent;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.4;
}
.banner-error { background: var(--error-bg); color: var(--error); border-color: rgba(220, 50, 50, 0.3); }
.banner-warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(242, 156, 27, 0.3); }
.banner-success { background: var(--success-bg); color: var(--primary-700); border-color: rgba(50, 153, 80, 0.3); }
.banner-info { background: #E5EEFF; color: #1F4FAA; border-color: rgba(31, 79, 170, 0.2); }

/* ============================================
   TABS
   ============================================ */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tabs-3 { grid-template-columns: repeat(3, 1fr); }
.tab {
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
}
.tab.is-active { background: var(--primary-600); color: var(--white); border-color: var(--primary-600); }

.view-toggle { display: inline-flex; background: var(--white); border-radius: var(--radius); padding: 3px; border: 1px solid var(--gray-200); }
.view-toggle button {
  border: 0; background: transparent;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 500; color: var(--gray-700);
  cursor: pointer;
}
.view-toggle button.is-active { background: var(--gray-900); color: var(--white); }

/* ============================================
   LISTS
   ============================================ */
.option-list { display: grid; gap: 8px; }
.option-list .option {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 12px 14px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: var(--gray-900);
  font-size: 14px;
  cursor: pointer;
  gap: 8px;
}
.option:hover { background: var(--gray-50); }

/* ============================================
   BOTTOM SHEET (modal that slides from bottom of shell)
   ============================================ */
.sheet-overlay {
  position: absolute; inset: 0;
  background: rgba(28, 34, 41, 0.5);
  z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade-in .2s ease-out;
}
.sheet-overlay[hidden] { display: none; }
.sheet {
  background: var(--white);
  width: 100%;
  border-radius: 20px 20px 0 0;
  padding: 12px 16px 20px;
  max-height: 85%;
  overflow-y: auto;
  animation: slide-up .25s ease-out;
}
.sheet-handle { width: 40px; height: 4px; background: var(--gray-300); border-radius: 2px; margin: 0 auto 12px; }
.sheet-title { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.overlay {
  position: absolute; inset: 0;
  background: rgba(28, 34, 41, 0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: fade-in .2s ease-out;
}
.overlay[hidden] { display: none; }
.dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 340px;
  width: 100%;
}
.dialog h2 { font-size: 17px; margin: 0 0 8px; }

/* ============================================
   CALENDAR
   ============================================ */
.calendar { background: var(--white); border-radius: var(--radius-md); padding: 12px; border: 1px solid var(--gray-200); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; text-transform: capitalize; }
.cal-head button { background: transparent; border: 0; font-size: 16px; padding: 4px 8px; color: var(--gray-700); border-radius: var(--radius-sm); cursor: pointer; }
.cal-head button:hover { background: var(--gray-100); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 13px; }
.cal-grid .cal-dow { color: var(--gray-500); font-size: 11px; padding: 4px 0; font-weight: 600; }
.cal-day {
  padding: 8px 0;
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
  font-size: 13px;
}
.cal-day:hover:not(.is-disabled):not(.is-other) { background: var(--gray-100); }
.cal-day.is-other { color: var(--gray-300); cursor: default; }
.cal-day.is-disabled { color: var(--gray-300); text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-selected { background: var(--primary-600); color: var(--white); font-weight: 600; }
.cal-day.is-in-range { background: var(--primary-100); color: var(--primary-700); }

.steps { display: flex; gap: 4px; margin: 4px 0 14px; }
.steps .step { flex: 1; height: 4px; background: var(--gray-200); border-radius: 2px; }
.steps .step.is-done { background: var(--primary-600); }
.steps .step.is-current { background: var(--primary-500); }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.photo-thumb {
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--gray-500);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb.has-image { border-style: solid; }
.photo-thumb .remove-btn {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,0.6); color: white;
  border: none; border-radius: 50%; width: 22px; height: 22px;
  font-size: 14px; line-height: 1;
}

/* ============================================
   SUMMARY TABLES
   ============================================ */
.summary { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); overflow: hidden; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--gray-200); font-size: 14px; gap: 10px; }
.summary-row:last-child { border-bottom: none; }
.summary-row .label-text { color: var(--gray-500); flex-shrink: 0; }
.summary-row > span:last-child { text-align: right; font-weight: 500; }
.summary-total { background: var(--primary-100); color: var(--primary-700); font-weight: 700; font-size: 15px; }

.timeline { display: grid; gap: 14px; padding: 8px 0; position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 11px; top: 22px; bottom: 22px;
  width: 1px; background: var(--gray-200);
}
.timeline-item { display: flex; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.timeline-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid var(--white);
}
.timeline-dot.is-pending { background: var(--gray-300); }
.timeline-info { font-size: 14px; }
.timeline-info .when { color: var(--gray-500); font-size: 12px; }

.map-container { height: 280px; width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); }

.empty {
  text-align: center; padding: 40px 16px;
  color: var(--gray-500);
}
.empty .empty-icon { font-size: 48px; margin-bottom: 8px; }
.empty h2 { color: var(--gray-900); margin-bottom: 4px; font-size: 18px; }

.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.avatar-lg { width: 64px; height: 64px; font-size: 22px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }

/* ============================================
   UTILITIES
   ============================================ */
.row { display: flex; align-items: center; gap: 8px; }
.row.between { justify-content: space-between; }
.row.gap-12 { gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .8s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   TOASTS
   ============================================ */
.toast-stack {
  position: absolute;
  left: 12px; right: 12px;
  bottom: calc(var(--bottom-nav-h) + 16px);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 200;
  pointer-events: none;
}
.toast {
  padding: 12px 16px; border-radius: var(--radius);
  background: var(--gray-900); color: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: toast-in .25s ease-out;
  pointer-events: auto;
}
.toast.is-error { background: var(--error); }
.toast.is-success { background: var(--primary-600); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================
   NOTIFICATIONS BELL
   ============================================ */
.notif-wrap { position: relative; }
.notif-icon {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  cursor: pointer;
  border: none;
  font-size: 16px;
}
.notif-badge {
  position: absolute; top: 0; right: 0;
  background: var(--error); color: var(--white);
  font-size: 10px; padding: 1px 5px; border-radius: 10px;
  font-weight: 700; min-width: 16px; text-align: center;
  border: 2px solid var(--white);
}
.notif-list {
  position: absolute; right: 0; top: 44px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  width: 280px; max-height: 360px; overflow-y: auto;
  z-index: 50;
}
.notif-list[hidden] { display: none; }
.notif-item { padding: 12px 14px; border-bottom: 1px solid var(--gray-100); cursor: pointer; }
.notif-item:hover { background: var(--gray-50); }
.notif-item .t { font-weight: 600; margin-bottom: 2px; font-size: 13px; }
.notif-item .b { color: var(--gray-700); font-size: 12px; line-height: 1.3; }
.notif-item .tm { color: var(--gray-500); font-size: 11px; margin-top: 2px; }

/* ============================================
   PAYMENT-SPECIFIC (MercadoPago blue header)
   ============================================ */
.payment-shell .topbar { background: #1F4FAA; color: white; border-bottom: 0; }
.payment-shell .topbar .back-btn { color: white; }
.payment-shell .topbar .topbar-title { color: white; }

/* SUCCESS-SPECIFIC */
.success-shell { background: var(--primary-600); }
.success-shell .topbar { background: transparent; color: white; border-bottom: 0; }
.success-shell .topbar .back-btn { color: white; }
.success-shell .topbar .topbar-title { color: white; }
.success-shell main.page { color: white; }
.success-shell main.page .card { color: var(--gray-900); }

/* ============================================
   QUICK PICKS (login demo accounts)
   ============================================ */
.quick-picks { display: grid; gap: 8px; }
.quick-pick {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: left; width: 100%;
  cursor: pointer;
  transition: border-color .15s, transform .05s;
}
.quick-pick:hover { border-color: var(--primary-500); }
.quick-pick:active { transform: scale(0.99); }
.quick-pick .qp-info { flex: 1; min-width: 0; }
.quick-pick .qp-name { font-weight: 600; font-size: 14px; color: var(--gray-900); }
.quick-pick .qp-role { font-size: 12px; color: var(--gray-500); }
.quick-pick .qp-arrow { color: var(--gray-300); }
