/* ============================================================
   دعوتي - Main CSS
   ============================================================ */
:root {
  --brand:       #e05520;
  --brand-dark:  #c44118;
  --brand-light: #f7ede8;
  --gold:        #d4a017;
  --gold-light:  #fdf3d6;
  --text:        #1c1917;
  --text-2:      #57534e;
  --text-3:      #a8a29e;
  --bg:          #fafaf9;
  --bg-2:        #f5f5f4;
  --border:      #e7e5e4;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow:      0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.05);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.1);
  --font-ar:     'Cairo', sans-serif;
  --font-en:     'Lato', sans-serif;
  --transition:  all .2s ease;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  padding: 0 20px; height: 64px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; }
.logo-icon { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--text-2); transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-toggle { display: none; font-size: 22px; padding: 6px; }
@media(max-width:768px){
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; inset-inline: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 20px; gap: 16px; box-shadow: var(--shadow-lg); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  transition: var(--transition); white-space: nowrap;
}
.btn-sm  { padding: 6px 16px; font-size: 13px; }
.btn-lg  { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary  { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(224,85,32,.3); }
.btn-primary:hover  { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline  { border: 2px solid var(--border); color: var(--text-2); }
.btn-outline:hover  { border-color: var(--brand); color: var(--brand); }
.btn-gold  { background: var(--gold); color: #fff; }
.btn-gold:hover  { background: #b8860b; }
.btn-white { background: #fff; color: var(--brand); font-weight: 700; }
.btn-white:hover { background: #f5f5f4; }
.btn-danger { background: #dc2626; color: #fff; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #fffbf8 0%, #fff5ef 50%, #fffbee 100%);
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.blob-1 { width: 500px; height: 500px; background: #ffd0b5; top: -100px; inset-inline-end: -100px; }
.blob-2 { width: 400px; height: 400px; background: #fef3c7; bottom: -100px; inset-inline-start: -50px; }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 80px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid #fde8d8;
  color: var(--brand); font-size: 13px; font-weight: 600;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; font-family: 'Amiri', serif; }
.gold-text { background: linear-gradient(90deg, var(--gold), #f5c842, var(--gold)); background-size: 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 3s linear infinite; }
.hero-desc { font-size: 18px; color: var(--text-2); max-width: 580px; margin: 0 auto 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.hero-stats span { display: flex; align-items: center; gap: 4px; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-2); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 10px; font-family: 'Amiri', serif; }
.section-header p { color: var(--text-2); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* ── Demo cards ── */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }
.demo-card {
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.from-rose  { background: linear-gradient(135deg,#fff1f2,#ffe4e6); }
.from-amber { background: linear-gradient(135deg,#fffbeb,#fef3c7); }
.from-teal  { background: linear-gradient(135deg,#f0fdf4,#dcfce7); }
.demo-emoji { font-size: 40px; margin-bottom: 12px; }
.demo-type  { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 6px; }
.demo-name  { font-size: 22px; font-weight: 700; font-family: 'Amiri',serif; margin-bottom: 4px; }
.demo-date  { font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.demo-live  { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.pulse-dot  { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.feature-card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; align-items: start; max-width: 900px; margin: 0 auto; }
.pricing-card { background: white; border-radius: var(--radius-xl); border: 2px solid var(--border); overflow: hidden; transition: var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-popular { border-color: var(--brand); transform: scale(1.04); box-shadow: 0 20px 60px rgba(224,85,32,.15); }
.popular-badge { background: var(--brand); color: white; text-align: center; padding: 6px; font-size: 12px; font-weight: 600; }
.pricing-header { padding: 28px 24px; }
.bg-stone { background: #f5f5f4; }
.bg-brand { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: white; }
.bg-gold  { background: linear-gradient(135deg, var(--gold), #b8860b); color: white; }
.plan-name  { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-size: 32px; font-weight: 800; }
.plan-price span { font-size: 14px; font-weight: 400; opacity: .8; }
.pricing-body { padding: 24px; }
.plan-features { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.plan-features li::before { font-size: 13px; flex-shrink: 0; }
.plan-features li.has { color: var(--text); }
.plan-features li.has::before { content: '✓'; color: #16a34a; font-weight: 700; }
.plan-features li.no  { color: var(--text-3); }
.plan-features li.no::before  { content: '✕'; color: var(--text-3); }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); padding: 80px 0; }
.cta-content { text-align: center; color: white; }
.cta-content h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; margin-bottom: 12px; font-family: 'Amiri',serif; }
.cta-content p  { font-size: 16px; opacity: .85; margin-bottom: 32px; }

/* ── Footer ── */
.footer { background: #1c1917; color: #a8a29e; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: white; font-size: 18px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; }
.lang-switcher { display: flex; gap: 8px; }
.lang-switcher a { font-size: 12px; padding: 3px 10px; border-radius: 20px; border: 1px solid #44403c; }
.lang-switcher a:hover, .lang-switcher a.active { background: var(--brand); color: white; border-color: var(--brand); }

/* ── Auth pages ── */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, #fffbf8, #fff5ef); padding: 40px 20px; }
.auth-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.auth-card { background: white; border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.auth-card .subtitle { text-align: center; color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  transition: var(--transition); background: white; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(224,85,32,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; border-radius: var(--radius); padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.form-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; border-radius: var(--radius); padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-3); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-2); }
.auth-footer a { color: var(--brand); font-weight: 600; }

/* ── Dashboard ── */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 248px; background: white; border-inline-end: 1px solid var(--border);
  display: flex; flex-direction: column; height: 100vh;
  position: sticky; top: 0; overflow-y: auto;
}
.sidebar-logo { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.sidebar-user { margin: 12px; background: var(--bg-2); border-radius: var(--radius); padding: 12px; }
.user-avatar { width: 36px; height: 36px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.user-info { min-width: 0; }
.user-info .name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-info .email { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-top: 6px; }
.plan-free { background: var(--bg-2); color: var(--text-2); }
.plan-pro  { background: var(--brand-light); color: var(--brand); }
.plan-vip  { background: var(--gold-light); color: var(--gold); }
.sidebar-nav { flex: 1; padding: 8px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: var(--transition); margin-bottom: 2px;
}
.nav-item:hover { background: var(--bg-2); color: var(--text); }
.nav-item.active { background: var(--brand-light); color: var(--brand); }
.nav-item .nav-icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-upgrade { margin: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: var(--radius-lg); padding: 16px; color: white; }
.sidebar-upgrade h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.sidebar-upgrade p { font-size: 11px; opacity: .85; margin-bottom: 10px; }
.sidebar-upgrade a { display: block; background: white; color: var(--brand); border-radius: var(--radius); padding: 7px; text-align: center; font-size: 12px; font-weight: 700; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }
.main-content { flex: 1; min-width: 0; padding: 32px; }
@media(max-width:900px){ .sidebar { display: none; } .main-content { padding: 20px; } }

/* ── Page header ── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.page-header h1 { font-size: 24px; font-weight: 700; }
.page-header p { font-size: 14px; color: var(--text-2); margin-top: 2px; }

/* ── Stats cards ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: white; border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; }
.stat-value { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-2); margin-top: 4px; }

/* ── Event cards ── */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 18px; }
.event-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.event-card:hover { box-shadow: var(--shadow-lg); }
.event-card-top { height: 5px; }
.event-card-body { padding: 18px; }
.event-type-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 20px; margin-bottom: 8px; }
.event-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.event-date { font-size: 12px; color: var(--text-3); margin-bottom: 14px; }
.event-stats { display: flex; gap: 16px; font-size: 12px; color: var(--text-3); padding: 12px 0; border-top: 1px solid var(--bg-2); border-bottom: 1px solid var(--bg-2); margin-bottom: 12px; }
.event-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.event-action-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: var(--radius); background: var(--bg-2); font-size: 11px; font-weight: 500; color: var(--text-2); transition: var(--transition); }
.event-action-btn:hover { background: var(--brand-light); color: var(--brand); }
.event-action-btn .icon { font-size: 14px; }

/* ── Builder ── */
.builder-layout { display: flex; height: calc(100vh - 60px); overflow: hidden; }
.builder-toolbar { height: 60px; background: white; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.builder-panel { width: 300px; background: white; border-inline-end: 1px solid var(--border); overflow-y: auto; flex-shrink: 0; }
.builder-preview { flex: 1; background: var(--bg-2); overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 24px; }
.panel-tabs { display: flex; border-bottom: 1px solid var(--border); }
.panel-tab { flex: 1; padding: 12px 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; transition: var(--transition); cursor: pointer; }
.panel-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.panel-section { padding: 16px; border-bottom: 1px solid var(--bg-2); }
.panel-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 10px; }
.color-input-row { display: flex; align-items: center; gap: 8px; }
.color-input-row input[type=color] { width: 40px; height: 36px; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; padding: 2px; }
.color-input-row input[type=text] { flex: 1; }

/* ── RSVP page ── */
.invite-page { min-height: 100vh; }
.invite-hero { position: relative; }
.invite-hero img { width: 100%; height: 280px; object-fit: cover; }
.invite-hero-placeholder { height: 120px; }
.invite-card { max-width: 520px; margin: -60px auto 0; position: relative; z-index: 1; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-radius: var(--radius-xl); padding: 40px 32px; text-align: center; border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.invite-bismillah { font-family: 'Amiri',serif; font-size: 15px; opacity: .65; margin-bottom: 16px; }
.invite-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.invite-divider-line { flex: 1; height: 1px; }
.invite-divider-icon { font-size: 18px; }
.invite-title { font-family: 'Amiri',serif; font-size: clamp(1.8rem,5vw,2.8rem); font-weight: 700; margin-bottom: 8px; }
.invite-meta { font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.invite-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.invite-secondary-actions { display: flex; justify-content: center; gap: 20px; margin-top: 12px; }
.invite-secondary-actions a { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.invite-secondary-actions a:hover { color: var(--text-2); }
.invite-footer { text-align: center; padding: 32px; }
.invite-credit { font-size: 11px; color: var(--text-3); }

/* ── Guestbook ── */
.entry-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 18px; margin-bottom: 14px; }
.entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.entry-author { display: flex; align-items: center; gap: 10px; }
.entry-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--brand-dark)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 13px; }
.entry-name { font-weight: 600; font-size: 14px; }
.entry-time { font-size: 11px; color: var(--text-3); }
.entry-type-pill { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: var(--bg-2); color: var(--text-2); }
.entry-text { font-size: 14px; color: var(--text); line-height: 1.7; }
.entry-img { margin-top: 10px; border-radius: var(--radius); max-height: 200px; object-fit: cover; width: 100%; }

/* ── Admin ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #1c1917; display: flex; flex-direction: column; }
.admin-sidebar-logo { padding: 20px; display: flex; align-items: center; gap: 8px; color: white; font-weight: 700; border-bottom: 1px solid #292524; }
.admin-nav { flex: 1; padding: 8px; }
.admin-nav-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius); font-size: 13px; color: #a8a29e; transition: var(--transition); margin-bottom: 2px; }
.admin-nav-item:hover, .admin-nav-item.active { background: #292524; color: white; }
.admin-content { flex: 1; min-width: 0; background: var(--bg); padding: 32px; }

/* ── Tables ── */
.table-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.table-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.table-header h3 { font-size: 15px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--bg-2); padding: 10px 16px; text-align: start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--bg-2); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg); }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-amber  { background: #fef3c7; color: #d97706; }
.badge-blue   { background: #dbeafe; color: #2563eb; }
.badge-stone  { background: var(--bg-2); color: var(--text-2); }

/* ── Empty states ── */
.empty-state { padding: 60px 20px; text-align: center; color: var(--text-2); }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 20px; }

/* ── Mobile topbar ── */
.mobile-topbar { display: none; position: fixed; top: 0; inset-inline: 0; z-index: 50; height: 56px; background: white; border-bottom: 1px solid var(--border); align-items: center; justify-content: space-between; padding: 0 16px; }
@media(max-width:900px){ .mobile-topbar { display: flex; } .main-content { padding: 72px 16px 24px; } }

/* ── Toast ── */
.toast-container { position: fixed; top: 20px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
[dir="rtl"] .toast-container { transform: translateX(50%); }
.toast { padding: 12px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); pointer-events: all; animation: slideDown .3s ease; white-space: nowrap; }
.toast-success { background: #16a34a; color: white; }
.toast-error   { background: #dc2626; color: white; }
.toast-info    { background: var(--text); color: white; }

/* ── Animations ── */
@keyframes shimmer { 0%{background-position:0% center} 100%{background-position:200% center} }
@keyframes pulse   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.9)} }
@keyframes slideDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
.animate-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ── Utils ── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-4 { margin-top: 16px; }
.text-sm { font-size: 13px; }
.text-muted { color: var(--text-2); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.rounded { border-radius: var(--radius); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
