:root {
  --navy: #14283f;
  --navy-dark: #0b1c30;
  --navy-darker: #081526;
  --gold: #b8935a;
  --gold-light: #d4b483;
  --cream: #fbf8f3;
  --cream-2: #f6efe4;
  --white: #ffffff;
  --text-dark: #1f2a37;
  --text-gray: #5b6472;
  --text-muted: #9a9d9f;
  --border-light: #ece5d8;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 40, 63, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-darker); }
.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--gold);
}
.btn-outline:hover { border-color: var(--gold); background: var(--cream-2); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; margin-top: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.logo {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--navy);
}
.logo-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
}
.main-nav a { position: relative; padding: 6px 0; transition: color 0.2s; }
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); font-weight: 700; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.lang-switch .active { color: var(--gold); font-weight: 700; }
.lang-switch .divider { color: var(--border-light); }
.partner-btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg path { transition: opacity 0.15s; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-inner {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hero-content { direction: rtl; }
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: radial-gradient(ellipse 62% 60% at center, black 45%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at center, black 45%, transparent 92%);
}
.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-dark);
}
.hero-content h2.accent {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 22px;
}
.hero-content p {
  color: var(--text-gray);
  font-size: 15.5px;
  max-width: 480px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 14px; }

/* Package sections */
.packages { padding: 56px 0; }
.packages-hajj { background: var(--cream-2); }
.section-head {
  direction: ltr;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}
.section-title { direction: rtl; text-align: center; flex: 1; }
.section-title h3 { font-size: 26px; font-weight: 800; margin: 0 0 10px; }
.section-title .rule {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin-bottom: 10px;
}
.section-title p { color: var(--text-gray); font-size: 14.5px; margin: 0; }

.card-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.package-card {
  direction: rtl;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow);
}
.thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 160/98;
  margin-bottom: 14px;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11, 28, 48, 0.85);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.package-card h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 4px; }
.package-card .meta { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; }
.package-card .from { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.package-card .price { font-size: 21px; font-weight: 800; color: var(--gold); margin: 2px 0 0; }
.package-card .price span { font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* Why section */
.why { padding: 64px 0 76px; }
.why-title { text-align: center; font-size: 24px; font-weight: 800; margin: 0 0 32px; }
.why-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  direction: rtl;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}
.why-card svg { margin-bottom: 14px; }
.why-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.why-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cbd3dc; }
.footer-inner {
  direction: ltr;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand { direction: rtl; }
.footer-col { direction: rtl; }
.footer-brand .logo-title { color: var(--white); }
.footer-brand p { font-size: 13.5px; color: #94a0ae; margin: 16px 0 20px; max-width: 300px; }
.socials { direction: ltr; display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,147,90,0.4);
  border-radius: 50%;
  color: var(--gold-light);
  transition: background 0.2s;
}
.socials a:hover { background: rgba(184,147,90,0.15); }
.footer-col h5 { font-size: 14.5px; font-weight: 700; color: var(--white); margin: 0 0 16px; }
.footer-col a { display: block; font-size: 13.5px; color: #94a0ae; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.contact-line { display: flex; align-items: center; gap: 8px; }
.contact-line span { direction: ltr; unicode-bidi: isolate; }
.contact-line svg { color: var(--gold-light); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom p { margin: 0; text-align: center; font-size: 12.5px; color: #7c8794; }

/* Responsive */
@media (max-width: 980px) {
  .header-inner { position: relative; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    padding: 8px 24px 14px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav a { padding: 10px 0; width: 100%; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--gold); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { max-width: 420px; margin: 0 auto; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-inner { position: relative; height: auto; padding: 14px 0; flex-wrap: wrap; }
  .header-actions { order: 3; width: 100%; justify-content: space-between; }
  .hero-content h1 { font-size: 32px; }
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 16px; }
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  padding: 16px 0;
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border-light); }
.breadcrumb .current { color: var(--navy); font-weight: 700; }

/* ============ Wide banner hero (listing / policy / contact / login pages) ============ */
.page-banner {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  background: var(--cream-2);
}
.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-banner .banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.page-banner .banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251,248,243,.15) 0%, var(--cream) 78%);
}
.page-banner .banner-inner { position: relative; z-index: 1; text-align: left; direction: ltr; }
.page-banner .banner-text { direction: rtl; max-width: 640px; margin-inline-start: auto; text-align: right; }
.page-banner h1 { font-size: 38px; font-weight: 800; margin: 0 0 12px; color: var(--text-dark); }
.page-banner .rule { display: inline-block; width: 48px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 14px; }
.page-banner p { color: var(--text-gray); font-size: 15px; margin: 0; }

/* Sparse illustration banner (policy pages) */
.page-banner.sparse { background: var(--cream); padding: 48px 0 40px; }
.page-banner.sparse .banner-bg { position: absolute; left: 0; right: auto; top: 0; width: 220px; height: 100%; z-index: 0; }
.page-banner.sparse .banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }
.page-banner.sparse .banner-bg::after { display: none; }
.page-banner.sparse .banner-text { margin-inline-start: 0; margin-inline-end: 240px; max-width: 640px; }

/* ============ Feature strip (icon row under listings) ============ */
.feature-strip {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 40px;
}
.feature-strip .feature { direction: rtl; text-align: center; }
.feature-strip svg { color: var(--gold); margin-bottom: 12px; }
.feature-strip h5 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.feature-strip p { font-size: 12.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ============ Policy pages (numbered sections) ============ */
.policy-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 8px 34px;
  box-shadow: var(--shadow);
}
.policy-item {
  direction: rtl;
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
.policy-item:last-child { border-bottom: none; }
.policy-item .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.policy-item h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
.policy-item h4 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--white); font-size: 12px; font-weight: 700;
}
.policy-item p, .policy-item ul { color: var(--text-gray); font-size: 14px; margin: 0; }
.policy-item ul { padding-inline-start: 18px; }
.policy-note {
  direction: rtl;
  display: flex; align-items: center; gap: 10px;
  background: var(--cream-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}
.policy-note svg { color: #1a7a4c; flex-shrink: 0; }
.policy-page-content { padding: 0 0 70px; }

/* ============ Contact page ============ */
.contact-section { padding: 56px 0 70px; }
.contact-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  align-items: start;
}
.contact-info-card, .contact-form-card {
  direction: rtl;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info-card h3, .contact-form-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 22px; }
.contact-info-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-row .icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-row .label { font-size: 12.5px; color: var(--text-muted); margin: 0 0 3px; }
.contact-info-row .value { font-size: 14.5px; font-weight: 700; color: var(--text-dark); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.faq-section { padding: 0 0 70px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .2s; color: var(--gold); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-gray); font-size: 13.5px; }

/* ============ Package details ============ */
.details-section { padding: 26px 0 70px; }
.details-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 10px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; }
.gallery-thumbs img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--gold); }

.details-info { direction: rtl; }
.details-info .badge-pill {
  display: inline-block;
  background: var(--cream-2);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.details-info h1 { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.details-info .location { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.details-info .location svg { color: var(--gold); }
.details-info > p.desc { color: var(--text-gray); font-size: 14.5px; margin: 0 0 20px; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.spec-item { display: flex; align-items: center; gap: 10px; }
.spec-item .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cream-2); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spec-item .label { font-size: 11.5px; color: var(--text-muted); margin: 0; }
.spec-item .value { font-size: 13.5px; font-weight: 700; margin: 0; }

.booking-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: var(--white);
  margin-bottom: 20px;
}
.booking-card .label { font-size: 13px; color: #b7c2cf; margin: 0 0 4px; }
.booking-card .price { font-size: 28px; font-weight: 800; color: var(--gold-light); margin: 0 0 4px; }
.booking-card .per { font-size: 12.5px; color: #b7c2cf; margin: 0 0 16px; }
.booking-card .btn-gold { background: var(--gold); color: var(--navy-darker); width: 100%; justify-content: center; }
.booking-card .btn-gold:hover { background: var(--gold-light); }

.content-block { margin-top: 34px; }
.content-block h3 { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.content-block ul.check-list { list-style: none; padding: 0; margin: 0; }
.content-block ul.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-gray); margin-bottom: 12px; }
.content-block ul.check-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.inclusion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inclusion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  background: var(--white);
}
.inclusion-item svg { color: #1a7a4c; margin-bottom: 8px; }
.inclusion-item.excluded svg { color: #b23b3b; }
.inclusion-item span { font-size: 13px; font-weight: 600; display: block; }

.itinerary { position: relative; padding-inline-start: 30px; }
.itinerary::before { content: ""; position: absolute; inset-inline-start: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--border-light); }
.itinerary-item { position: relative; padding-bottom: 26px; display: flex; justify-content: space-between; gap: 14px; }
.itinerary-item:last-child { padding-bottom: 0; }
.itinerary-item::before {
  content: ""; position: absolute; inset-inline-start: -30px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.itinerary-item h5 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.itinerary-item p { font-size: 13px; color: var(--text-gray); margin: 0; }
.itinerary-item .day-tag { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

@media (max-width: 900px) {
  .details-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .inclusion-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .page-banner.sparse .banner-bg { display: none; }
  .page-banner.sparse .banner-text { margin-inline-start: 0; margin-inline-end: 0; }
}

/* ============ Partner / auth pages ============ */
.auth-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.auth-hero .banner-bg { position: absolute; inset: 0; }
.auth-hero .banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.auth-hero .banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,28,48,.35), rgba(11,28,48,.55)); }
.auth-hero-content { position: relative; z-index: 1; text-align: center; width: 100%; color: var(--white); }
.auth-hero-content h1 { font-size: 34px; font-weight: 800; margin: 0 0 14px; }
.auth-hero-content .rule { display: inline-block; width: 48px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 16px; }
.auth-hero-content p { font-size: 15px; color: #e7ebef; margin: 0; }

.auth-card-wrap { max-width: 460px; margin: -70px auto 0; position: relative; z-index: 2; padding: 0 20px 60px; }
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(11,28,48,.15);
  padding: 30px 28px;
}
.auth-card .field { text-align: right; }
.auth-card .field .input-icon { position: relative; }
.auth-card .field .input-icon svg { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 14px; color: var(--text-muted); }
.auth-card .field .input-icon input { padding-inline-start: 40px; }
.auth-card > .btn + .btn { margin-top: 10px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 20px; }
.auth-row a { color: var(--gold); font-weight: 600; }
.auth-row label { display: flex; align-items: center; gap: 6px; color: var(--text-gray); }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12.5px; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-light); }

/* ============ Confirmation / modal-style pages ============ */
.confirm-page { padding: 40px 0 70px; }
.confirm-page .page-title { margin-bottom: 30px; }
.confirm-page .page-title h1 { font-size: 26px; font-weight: 800; margin: 6px 0 4px; }
.confirm-page .page-title p { color: var(--text-muted); font-size: 14px; margin: 0; }
.confirm-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 40px;
  text-align: center;
}
.confirm-card .icon-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.confirm-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.confirm-card > p { color: var(--text-gray); font-size: 14.5px; margin: 0 0 24px; }
.confirm-card .info-box {
  display: flex; gap: 12px; align-items: flex-start; text-align: right;
  background: var(--cream-2); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 16px 18px; margin-bottom: 24px;
}
.confirm-card .info-box .icon { color: var(--gold); flex-shrink: 0; }
.confirm-card .info-box strong { display: block; font-size: 14px; margin-bottom: 4px; }
.confirm-card .info-box span { font-size: 13px; color: var(--text-gray); }
.confirm-actions { display: flex; gap: 12px; }
.confirm-actions .btn { flex: 1; justify-content: center; }
.btn-green { background: #14532d; color: var(--white); }
.btn-green:hover { background: #0f3d21; }

/* ============ Dashboard layout ============ */
.dash-body { direction: ltr; display: grid; grid-template-columns: 260px 1fr; gap: 0; align-items: start; min-height: 60vh; }
.dash-sidebar {
  direction: rtl;
  background: var(--navy);
  color: var(--white);
  padding: 26px 18px;
  border-radius: var(--radius-lg);
  margin: 26px 0;
  align-self: stretch;
}
.dash-sidebar h6 { font-size: 13px; color: #8fa0b3; font-weight: 600; margin: 0 0 16px; padding: 0 8px; }
.dash-nav a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #cbd5e0; margin-bottom: 4px;
  transition: background .2s;
}
.dash-nav a:hover { background: rgba(255,255,255,.06); }
.dash-nav a.active { background: var(--gold); color: var(--navy-darker); }
.dash-nav a.logout { color: #e79a9a; margin-top: 16px; }

.dash-content { direction: rtl; padding: 26px 0 26px 26px; }
.dash-content h1 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.dash-content > p.lead { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; }
.dash-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}
.dash-panel h3 { font-size: 17px; font-weight: 800; margin: 0 0 20px; }
.dash-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 10px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
}
.stat-card .num { font-size: 24px; font-weight: 800; }
.stat-card .lbl { font-size: 12.5px; color: var(--text-muted); }
.stat-card svg { color: var(--gold); }

.dash-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dash-table th { text-align: right; color: var(--text-muted); font-weight: 600; font-size: 12.5px; padding: 10px 8px; border-bottom: 1px solid var(--border-light); }
.dash-table td { padding: 12px 8px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.dash-table img { width: 44px; height: 34px; object-fit: cover; border-radius: 6px; }
.status-pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.status-pill.active { background: #e4f5ea; color: #1a7a4c; }
.status-pill.draft { background: #fdf1de; color: #b8863a; }
.status-pill.paused { background: #fdeaea; color: #b23b3b; }
.row-actions { display: flex; gap: 8px; }
.row-actions button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-light); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.row-actions .del { color: #b23b3b; }
.row-actions .edit { color: var(--gold); }
.toggle-switch { width: 38px; height: 22px; border-radius: 999px; background: #1a7a4c; position: relative; display: inline-block; }
.toggle-switch::after { content: ""; position: absolute; top: 2px; inset-inline-start: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); }

.pagination { display: flex; justify-content: flex-end; gap: 6px; margin-top: 18px; align-items: center; font-size: 13px; }
.pagination button, .pagination span { min-width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-light); background: var(--white); display: flex; align-items: center; justify-content: center; }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { margin: 16px 0; }
  .dash-content { padding: 20px 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

