/* ══════════════════════════════════════════════════════
   style.css — نظام التصميم الكامل
   الألوان: ذهبي #FFD700 + أسود #111111 + رمادي فاتح #F5F5F0
   ══════════════════════════════════════════════════════ */

:root {
  --gold:       #FFD700;
  --gold-deep:  #FFC200;
  --black:      #111111;
  --dark:       #1A1A1A;
  --bg:         #F5F5F0;
  --white:      #FFFFFF;
  --muted:      #888888;
  --border:     #EEEEEE;
  --red:        #EF4444;
  --green:      #43A047;
  --blue:       #5C6BC0;
  --orange:     #FF9800;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --nav-h:      68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--black);
  direction: rtl;
  min-height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ══ Layout ══ */
#app {
  min-height: calc(100vh - var(--nav-h));
  padding-bottom: var(--nav-h);
}

.page { min-height: calc(100vh - var(--nav-h)); }
.page-body {
  padding: 16px;
  padding-bottom: calc(var(--nav-h) + 80px);
}

/* ══ Page Header ══ */
.page-header {
  position: relative;
  overflow: hidden;
  padding: env(safe-area-inset-top, 0px) 20px 20px;
  padding-top: max(env(safe-area-inset-top, 0px), 12px);
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}
.header-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 0 0 28px 28px;
}
.header-content { position: relative; z-index: 1; }
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.greeting { font-size: 13px; color: rgba(0,0,0,0.55); }
.app-title { font-size: 22px; font-weight: 800; color: var(--black); }
.page-h2   { font-size: 20px; font-weight: 800; color: var(--black); }

.header-stats {
  display: flex; gap: 8px;
}
.stat-chip {
  background: rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 6px 14px;
  display: flex; align-items: center; gap: 6px;
}
.stat-num   { font-size: 16px; font-weight: 800; color: var(--black); }
.stat-label { font-size: 11px; color: rgba(0,0,0,0.55); }

/* ══ Bottom Nav ══ */
#bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  height: var(--nav-h);
  background: var(--black);
  display: flex; align-items: center; justify-content: space-around;
  border-top: 1px solid #222;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 12px;
  cursor: pointer; color: #666; font-size: 11px;
  transition: color 0.2s;
  position: relative;
}
.nav-item .nav-icon { font-size: 22px; transition: transform 0.2s; }
.nav-item.active { color: var(--gold); }
.nav-item.active .nav-icon { transform: scale(1.15); }
.nav-label { font-size: 10px; font-weight: 600; }

/* ══ FAB ══ */
.fab {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  left: 50%; transform: translateX(-50%);
  background: var(--black);
  color: var(--gold);
  border-radius: 30px;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:active { transform: translateX(-50%) scale(0.96); }
.fab-icon { font-size: 20px; font-weight: 900; }

/* ══ Batch Card ══ */
.batches-list { display: flex; flex-direction: column; gap: 12px; }
.batch-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  active: transform: scale(0.98);
}
.batch-card:active { transform: scale(0.98); box-shadow: none; }
.batch-card-left  { display: flex; align-items: center; gap: 12px; }
.batch-card-right { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.batch-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.batch-name   { font-size: 15px; font-weight: 700; color: var(--black); }
.batch-phase  { font-size: 12px; font-weight: 600; margin-top: 2px; }
.batch-remain { font-size: 11px; color: var(--muted); margin-top: 2px; }
.batch-day    { font-size: 10px; color: var(--muted); }

/* حلقة التقدم */
.batch-progress-ring { position: relative; width: 44px; height: 44px; }
.batch-progress-ring svg { width: 44px; height: 44px; }
.ring-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: var(--black);
}

/* ══ Detail Page ══ */
.detail-header {
  padding: 16px 20px;
  padding-top: max(env(safe-area-inset-top, 0px), 12px);
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}
.detail-header-top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.detail-title-group { flex: 1; }
.detail-bird-name { display: block; font-size: 17px; font-weight: 800; color: var(--white); }
.detail-phase     { font-size: 13px; color: rgba(255,255,255,0.8); }
.detail-actions   { display: flex; gap: 8px; }
.detail-progress-bar {
  height: 6px; background: rgba(255,255,255,0.25);
  border-radius: 10px; overflow: hidden; margin-bottom: 6px;
}
.progress-fill { height: 100%; border-radius: 10px; transition: width 0.5s ease; }
.detail-progress-labels {
  display: flex; justify-content: space-between;
  font-size: 10px; color: rgba(255,255,255,0.7);
}

.current-stage-card {
  border-radius: var(--radius-md);
  padding: 16px; margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}
.stage-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.stage-emoji  { font-size: 28px; }
.stage-name   { font-size: 16px; font-weight: 700; color: var(--white); }
.stage-info-row { display: flex; gap: 8px; }
.info-tile {
  flex: 1; border-radius: var(--radius-sm);
  padding: 10px 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.info-tile.dark { background: rgba(255,255,255,0.08); }
.info-icon  { font-size: 16px; }
.info-value { font-size: 14px; font-weight: 800; color: var(--white); }
.info-label { font-size: 10px; color: rgba(255,255,255,0.6); }

/* Stats Grid */
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.stat-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow-sm);
}
.stat-card.clickable { cursor: pointer; border: 2px dashed var(--border); }
.stat-card.clickable:active { background: var(--bg); }
.stat-emoji { font-size: 22px; }
.stat-val   { font-size: 20px; font-weight: 800; color: var(--black); }
.stat-lbl   { font-size: 10px; color: var(--muted); text-align: center; }

/* Stages List */
.section-title {
  font-size: 14px; font-weight: 700; color: var(--muted);
  margin: 16px 0 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.stages-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.stage-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.6;
}
.stage-item.active { opacity: 1; }
.stage-item.done   { opacity: 0.45; }
.stage-dot {
  width: 10px; height: 10px;
  border-radius: 50%; margin-top: 4px; flex-shrink: 0;
}
.stage-item-name { font-size: 14px; font-weight: 600; }
.stage-item-days { font-size: 11px; color: var(--muted); }

/* Notifs mini */
.notifs-mini-list { display: flex; flex-direction: column; gap: 8px; }
.notif-mini-card {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 10px 12px; border: 1.5px solid;
  display: flex; align-items: center; gap: 10px;
}
.notif-mini-emoji { font-size: 20px; }
.notif-mini-title { font-size: 13px; font-weight: 600; }
.notif-mini-time  { font-size: 11px; font-weight: 700; }

/* ══ Form ══ */
.page-form { background: var(--bg); }
.form-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  padding-top: max(env(safe-area-inset-top, 0px), 16px);
  background: var(--white); border-bottom: 1px solid var(--border);
}
.form-steps { flex: 1; text-align: center; }
.step-dots  { display: flex; justify-content: center; gap: 6px; margin-bottom: 4px; }
.step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all 0.2s;
}
.step-dot.active { background: var(--black); width: 20px; border-radius: 4px; }
.step-title { font-size: 13px; font-weight: 700; color: var(--black); }
.form-body { padding: 20px 16px; }
.form-step { display: none; }
.form-step.active { display: block; }

/* Birds Grid */
.birds-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.bird-option {
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px; text-align: center;
  border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.bird-option.selected { border-color: var(--black); background: #fffde7; }
.bird-emoji { font-size: 36px; margin-bottom: 8px; }
.bird-name  { font-size: 14px; font-weight: 700; color: var(--black); }
.bird-days  { font-size: 11px; color: var(--muted); }

/* Fields */
.field-group  { margin-bottom: 16px; }
.field-label  { display: block; font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.field-input  {
  width: 100%; padding: 13px 15px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; color: var(--black);
  transition: border-color 0.15s;
}
.field-input:focus { border-color: var(--black); }
.field-textarea {
  width: 100%; padding: 12px 15px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--black);
  min-height: 80px; resize: vertical;
}
.field-textarea:focus { border-color: var(--black); }

/* Entry rows */
.entry-row {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 8px;
}
.entry-select { flex: 2; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--white); font-size: 14px; }
.entry-count  { width: 80px; padding: 10px 8px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--white); font-size: 14px; text-align: center; }
.entry-remove { width: 32px; height: 32px; border-radius: 50%; background: #fee; color: var(--red); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.add-entry-btn { background: var(--bg); border: 1.5px dashed var(--border); border-radius: var(--radius-sm); padding: 10px; width: 100%; font-size: 14px; color: var(--muted); }
.section-hint  { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

/* Buttons */
.back-btn { width: 38px; height: 38px; background: rgba(0,0,0,0.08); border-radius: 12px; font-size: 22px; color: var(--black); display: flex; align-items: center; justify-content: center; }
.next-btn { background: var(--black); color: var(--gold); padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.next-btn:disabled { opacity: 0.4; }
.icon-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 10px; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.icon-btn.danger { background: rgba(239,68,68,0.15); }
.submit-btn { width: 100%; padding: 16px; background: var(--black); color: var(--gold); border-radius: var(--radius-sm); font-size: 16px; font-weight: 800; margin-top: 8px; transition: opacity 0.2s; }
.submit-btn:disabled { opacity: 0.5; }

/* ══ Notifications Page ══ */
.page-notifs .page-header { margin-bottom: 0; }
.notif-tabs {
  display: flex; gap: 8px; padding: 12px 16px;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.notif-tab {
  flex: 1; padding: 10px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; color: var(--muted);
  background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 6px;
}
.notif-tab.active { background: var(--black); color: var(--gold); }
.tab-count {
  background: var(--gold); color: var(--black);
  border-radius: 10px; padding: 1px 7px; font-size: 11px;
}
.notif-tab.active .tab-count { background: var(--gold); }
.notif-tab-content { display: none; padding: 12px 16px; }
.notif-tab-content.active { display: block; }
.notif-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 14px; margin-bottom: 10px; border: 1.5px solid;
  display: flex; align-items: flex-start; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.notif-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.notif-sub   { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.notif-time  { font-size: 11px; color: var(--muted); }

/* ══ Store ══ */
.products-grid { display: flex; flex-direction: column; gap: 14px; }
.product-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm);
  display: flex; gap: 0;
}
.product-img {
  width: 110px; flex-shrink: 0;
  background: #fff8e1; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { font-size: 44px; }
.warranty-badge {
  position: absolute; top: 6px; right: 6px;
  background: #2E7D32; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
}
.product-info { flex: 1; padding: 14px; }
.product-name  { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.product-desc  { font-size: 12px; color: var(--muted); margin-bottom: 8px; line-height: 1.5; }
.product-price { font-size: 16px; font-weight: 800; color: var(--black); }

/* ══ FAQ ══ */
.search-box { margin-top: 10px; }
.search-input {
  width: 100%; padding: 11px 14px;
  background: rgba(0,0,0,0.08);
  border: none; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--black);
}
.search-input::placeholder { color: rgba(0,0,0,0.4); }
.faq-cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 16px; overflow-x: auto;
}
.cat-chip {
  padding: 6px 14px; border-radius: 20px;
  background: var(--white); font-size: 12px; font-weight: 600; color: var(--muted);
  white-space: nowrap; box-shadow: var(--shadow-sm);
}
.cat-chip.active { background: var(--black); color: var(--gold); }
.faq-list  { padding: 0 16px; }
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0; cursor: pointer; font-size: 14px; font-weight: 600;
}
.faq-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.faq-q span:not(.faq-arrow) { flex: 1; }
.faq-arrow { font-size: 18px; color: var(--muted); transition: transform 0.2s; }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 13px; color: var(--muted); line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0 18px;
}
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-item.open .faq-a { max-height: 400px; padding: 0 18px 14px; }

/* ══ Settings ══ */
.settings-section { margin-bottom: 20px; }
.section-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; padding: 0 4px; }
.settings-card {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600;
}
.settings-card[onclick] { cursor: pointer; }
.settings-arrow { color: var(--muted); font-size: 18px; }
.profile-card { background: var(--white); border-radius: var(--radius-md); padding: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.profile-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--black); color: var(--gold); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.profile-info   { flex: 1; }
.profile-name   { font-size: 16px; font-weight: 700; }
.profile-email  { font-size: 12px; color: var(--muted); }
.profile-edit-btn { padding: 8px 14px; background: var(--bg); border-radius: 10px; font-size: 13px; font-weight: 600; }
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #ddd; border-radius: 26px; transition: 0.3s; }
.toggle-slider::before { content:''; position:absolute; width:20px; height:20px; right:3px; bottom:3px; background:white; border-radius:50%; transition:0.3s; }
input:checked + .toggle-slider { background: var(--black); }
input:checked + .toggle-slider::before { transform: translateX(-22px); }
.add-btn    { width: 100%; padding: 11px; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--muted); }
.delete-btn { width: 28px; height: 28px; border-radius: 50%; background: #fee; color: var(--red); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.logout-btn { width: 100%; padding: 14px; border-radius: var(--radius-sm); background: #fee; color: var(--red); font-size: 15px; font-weight: 700; }

/* ══ Auth ══ */
.page-auth { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }

.auth-wave {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  padding: 48px 28px 52px;
  position: relative; overflow: hidden;
}
.auth-wave::after {
  content: ''; position: absolute; bottom: -28px; left: 0; right: 0;
  height: 56px; background: var(--bg); border-radius: 50% 50% 0 0;
}
.auth-wave-deco1 { position:absolute; top:-50px; right:-50px; width:180px; height:180px; background:rgba(0,0,0,0.05); border-radius:50%; }
.auth-wave-deco2 { position:absolute; bottom:0; left:-40px; width:120px; height:120px; background:rgba(0,0,0,0.04); border-radius:50%; }
.auth-logo-row { position:relative; z-index:1; display:flex; align-items:center; gap:14px; }
.auth-logo-icon { width:56px; height:56px; background:var(--black); border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; }
.auth-logo-text h1 { font-size:20px; font-weight:900; color:var(--black); line-height:1.2; }
.auth-logo-text p  { font-size:11px; color:rgba(0,0,0,0.45); letter-spacing:2px; margin-top:2px; }

.auth-form  { flex: 1; padding: 32px 24px 32px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.auth-switch a { color: var(--black); font-weight: 800; }
.form-error { color: var(--red); font-size: 13px; margin-bottom: 12px; padding: 10px 14px; background: #fee2e2; border-radius: var(--radius-sm); border-right: 3px solid var(--red); }

.auth-divider { display:flex; align-items:center; gap:12px; margin:18px 0; }
.auth-divider hr  { flex:1; border:none; border-top:1px solid var(--border); }
.auth-divider span { font-size:12px; color:var(--muted); }

.google-btn {
  width:100%; padding:13px 16px;
  background:var(--white); border:1.5px solid var(--border);
  border-radius:var(--radius-sm); font-size:14px; font-weight:700;
  font-family:inherit; cursor:pointer; color:var(--black);
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition: border-color 0.15s;
}
.google-btn:active { background: var(--bg); }
.google-logo { width:18px; height:18px; flex-shrink:0; }

.forgot-link { display:block; text-align:left; font-size:12px; color:var(--muted); font-weight:700; margin:-6px 0 16px; }
.auth-terms { font-size:11px; color:var(--muted); text-align:center; margin-top:14px; line-height:1.7; }
.auth-terms a { color:var(--black); font-weight:700; }

.pass-wrap { position:relative; }
.pass-toggle { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:16px; cursor:pointer; color:var(--muted); background:none; border:none; padding:0; }

/* ══ About ══ */
.page-about { background: var(--bg); }
.about-header { text-align: center; padding: 50px 20px 30px; background: linear-gradient(135deg, var(--black), #1a1a2e); }
.about-header .about-logo { font-size: 64px; margin-bottom: 12px; }
.about-header h1 { font-size: 24px; font-weight: 900; color: var(--gold); margin-bottom: 6px; }
.about-header p  { font-size: 14px; color: rgba(255,255,255,0.6); }
.contact-card { background: var(--white); border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.contact-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.contact-btn { display: block; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.contact-btn.whatsapp { background: #e7f5e9; color: #2e7d32; }
.contact-btn.phone    { background: var(--bg); color: var(--black); }
.contact-btn.email    { background: #e3f2fd; color: #1565c0; }
.about-section { background: var(--white); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.about-section h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.about-section p  { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ══ Empty State ══ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-emoji { font-size: 60px; display: block; margin-bottom: 16px; }
.empty-egg   { font-size: 72px; margin-bottom: 20px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--muted); }

/* ══ Notif Badge ══ */
.notif-btn { position: relative; width: 40px; height: 40px; background: rgba(0,0,0,0.1); border-radius: 12px; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.notif-badge { position: absolute; top: -2px; left: -2px; min-width: 18px; height: 18px; background: var(--red); color: white; border-radius: 9px; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ══ In-App Toast ══ */
.in-app-toast {
  position: fixed; top: max(env(safe-area-inset-top,0px), 16px); top: calc(env(safe-area-inset-top,0px) + 16px);
  left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--white); border-radius: var(--radius-md);
  padding: 14px 20px; max-width: 90vw;
  box-shadow: var(--shadow-lg); border: 2px solid var(--gold);
  font-size: 14px; font-weight: 700;
  z-index: 999; opacity: 0;
  transition: all 0.3s ease;
}
.in-app-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══ Utilities ══ */
.half { width: calc(50% - 6px); display: inline-block; }
.settings-row { display: flex; flex-wrap: wrap; gap: 12px; }
