@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&family=Cairo:wght@600;700;800;900&display=swap');

:root {
  --teal: #0d7377;
  --teal-d: #0a5c5f;
  --teal-l: #14a3a8;
  --teal-soft: #e8f6f7;
  --navy: #0f3a4a;
  --text: #0f2c2e;
  --muted: #6b8588;
  --bg: #f3fafb;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(13,115,119,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* TOP BAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5eef0;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.btn-book-now {
  background: linear-gradient(135deg, #0a6b6f, #14a3a8);
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(13,115,119,.3);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

/* HERO TEXT BLOCK */
.hero-block {
  background: linear-gradient(180deg, #f7fcfd 0%, #eef8f9 100%);
  padding: 36px 0 20px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e0f3f4; color: var(--teal);
  padding: 7px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; margin-bottom: 18px;
}
.hero-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.9rem, 6.5vw, 2.6rem);
  font-weight: 900; line-height: 1.3; color: var(--navy);
  margin-bottom: 14px;
}
.hero-title span { color: var(--teal-l); }
.hero-sub {
  color: var(--muted); font-size: 1rem; max-width: 420px;
  margin: 0 auto 22px; line-height: 1.8;
}
.hero-cta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer; transition: .2s;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; min-width: 200px; }
.btn-primary {
  background: linear-gradient(135deg, #0a6b6f, #14a3a8);
  color: #fff; box-shadow: 0 6px 18px rgba(13,115,119,.28);
}
.btn-outline {
  background: #fff; color: var(--navy);
  border: 1.5px solid #c8dde0;
}
.hero-chips {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  background: #fff; border: 1px solid #dceaea; border-radius: 999px;
  padding: 10px 18px; font-size: .9rem; font-weight: 600; color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero-stats {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding-top: 8px;
}
.hero-stats strong {
  display: block; font-size: 1.45rem; font-weight: 800; color: var(--navy);
}
.hero-stats span { font-size: .8rem; color: var(--muted); }

/* HERO PHOTO */
.hero-photo { padding: 10px 0 8px; background: #eef8f9; }
.hero-photo-frame {
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3; max-height: 420px;
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}

/* SPONSORS */
.sponsors {
  background: #fff; padding: 28px 0 20px; text-align: center;
  border-bottom: 1px solid #eef2f3;
}
.sponsors-label { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.sponsors-row {
  display: flex; justify-content: center; align-items: center;
  gap: 28px; flex-wrap: wrap;
}
.sponsor { font-weight: 800; font-size: 1.15rem; color: var(--navy); line-height: 1.3; }
.sponsor.ooredoo { color: #e30613; font-size: 1.4rem; letter-spacing: -0.5px; }
.sponsor.mol { font-size: .95rem; color: #5b2d7a; }
.sponsor.mol small { font-weight: 500; color: #777; font-size: .7rem; }

/* SERVICES */
.services-sec { padding: 40px 0 20px; background: #f3fafb; }
.sec-kicker { text-align: center; color: var(--teal); font-weight: 700; margin-bottom: 6px; }
.sec-title {
  text-align: center; font-family: 'Cairo', sans-serif;
  font-size: 1.7rem; font-weight: 900; color: var(--navy); margin-bottom: 8px;
}
.sec-desc { text-align: center; color: var(--muted); margin-bottom: 28px; font-size: .95rem; }

.svc-card {
  background: #fff; border-radius: 22px; padding: 28px 22px 24px;
  margin-bottom: 18px; box-shadow: var(--shadow);
  text-align: center; position: relative;
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(145deg, #0d7377, #14a3a8);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 16px;
}
.svc-card h3 {
  font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 10px;
}
.svc-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; line-height: 1.75; }
.svc-card ul { list-style: none; margin-bottom: 18px; text-align: right; display: inline-block; }
.svc-card li {
  padding: 5px 0; font-size: .95rem; color: var(--text);
  position: relative; padding-right: 26px;
}
.svc-card li::before {
  content: "✓"; position: absolute; right: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  top: 8px;
}
.svc-link {
  color: var(--teal-l); font-weight: 700; font-size: .95rem;
}

/* WHY BAND */
.why-band {
  background: linear-gradient(160deg, #0a4d52 0%, #0d7377 55%, #128a8f 100%);
  color: #fff; padding: 48px 0 40px; text-align: center;
}
.why-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  margin-bottom: 18px;
}
.why-title {
  font-family: 'Cairo', sans-serif; font-size: clamp(1.7rem, 5.5vw, 2.2rem);
  font-weight: 900; line-height: 1.35; margin-bottom: 14px;
}
.why-sub { opacity: .9; max-width: 420px; margin: 0 auto 28px; font-size: .95rem; }
.why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 0 auto;
}
.why-stat {
  background: rgba(255,255,255,.12); border-radius: 16px; padding: 18px 12px;
  backdrop-filter: blur(4px);
}
.why-stat strong { display: block; font-size: 1.6rem; font-weight: 800; }
.why-stat span { font-size: .8rem; opacity: .85; }

/* FEATURES */
.features { padding: 28px 0 40px; background: #f3fafb; }
.feat {
  background: #fff; border-radius: 18px; padding: 22px 20px 20px 20px;
  margin-bottom: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.04);
  position: relative; text-align: right;
}
.feat-num {
  position: absolute; left: 18px; top: 18px;
  font-size: 1.6rem; font-weight: 800; color: #d0e6e8; font-family: 'Cairo', sans-serif;
}
.feat-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft);
  color: var(--teal); display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; font-size: 1.1rem;
}
.feat h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .92rem; line-height: 1.75; }

/* FOOTER */
.site-footer {
  background: #f7fbfc; padding: 40px 0 28px; border-top: 1px solid #e8f0f1;
  text-align: center;
}
.footer-brand-mark { margin-bottom: 14px; }
.footer-brand-mark img { margin: 0 auto; }
.footer-about {
  color: var(--muted); font-size: .95rem; max-width: 420px; margin: 0 auto 28px; line-height: 1.8;
}
.footer-cols {
  display: grid; grid-template-columns: 1fr; gap: 22px; text-align: right;
  max-width: 480px; margin: 0 auto 28px;
}
.footer-cols h4 { color: var(--navy); font-size: 1rem; margin-bottom: 10px; font-weight: 800; }
.footer-cols a {
  display: block; color: var(--muted); padding: 3px 0; font-size: .95rem;
}
.footer-contact { color: var(--muted); font-size: .95rem; padding: 3px 0; }
.footer-copy {
  border-top: 1px solid #e8f0f1; padding-top: 18px;
  font-size: .85rem; color: #9aabb0;
}

.lang-switch {
  position: fixed; bottom: 18px; left: 18px; z-index: 99;
  display: flex; gap: 4px; background: #fff; border: 1px solid #dceaea;
  border-radius: 999px; padding: 4px; box-shadow: var(--shadow);
}
.lang-switch button {
  border: none; background: transparent; padding: 6px 12px; border-radius: 999px;
  font-weight: 700; cursor: pointer; font-size: .8rem; font-family: inherit;
}
.lang-switch button.active { background: var(--teal); color: #fff; }

/* Booking / other pages keep working */
.page-hero {
  background: linear-gradient(135deg, #0a4d50, #0d7377 50%, #14a3a8);
  color: #fff; padding: 50px 0 60px; text-align: center;
}
.page-hero h1 { font-family: 'Cairo', sans-serif; font-size: 2rem; font-weight: 900; margin-bottom: 10px; }
.page-hero p { opacity: .9; max-width: 520px; margin: 0 auto; }
.booking-layout {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  padding: 28px 0 50px; align-items: start;
}
.booking-form, .summary-card, .contact-box {
  background: var(--card); border-radius: var(--radius); padding: 22px;
  border: 1px solid #e0ecee; box-shadow: var(--shadow);
}
.step { margin-bottom: 22px; }
.step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-num {
  width: 30px; height: 30px; background: var(--teal); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option {
  border: 2px solid #e0ecee; border-radius: 14px; padding: 14px 10px; text-align: center;
  cursor: pointer; background: #fff; user-select: none;
}
.option.active { border-color: var(--teal); background: var(--teal-soft); }
.option strong { display: block; }
.option .price { color: var(--teal); font-weight: 700; margin-top: 4px; }
.option small { color: var(--muted); font-size: .78rem; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; }
.summary-row span:first-child { color: var(--muted); }
.summary-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f3; font-weight: 800; }
.summary-total .val { color: var(--teal); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
input[type="text"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d5e6e8; border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); }
.contact-layout { display: grid; grid-template-columns: 1fr; min-height: 480px; }
.contact-form-side { background: var(--bg); padding: 32px 20px; display: flex; align-items: center; justify-content: center; }
.contact-info-side {
  background: linear-gradient(160deg, #0a4d50, #0d7377); color: #fff; padding: 36px 24px;
}
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.alert-success { background: #e8f5e9; color: #1b5e20; }
.alert-error { background: #ffebee; color: #b71c1c; }

/* Admin */
.admin-body { background: #f4f6f8; }
.admin-sidebar {
  width: 100%; background: #0a3d40; color: #fff; padding: 16px 0;
}
.admin-sidebar h2 { padding: 0 16px 12px; font-size: 1rem; }
.admin-sidebar a { display: inline-block; padding: 8px 14px; color: #b8d4d6; margin: 0 4px; }
.admin-sidebar a.active, .admin-sidebar a:hover { color: #fff; }
.admin-main { padding: 20px 14px; }
.admin-table { width: 100%; background: #fff; border-radius: 12px; border-collapse: collapse; overflow: hidden; }
.admin-table th, .admin-table td { padding: 10px 8px; text-align: right; border-bottom: 1px solid #eee; font-size: .85rem; }
.admin-table th { background: #f8fafb; font-weight: 700; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.status-new { background: #e3f2fd; color: #1565c0; }
.status-processing { background: #fff3e0; color: #ef6c00; }
.status-done { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #ffebee; color: #c62828; }

@media (min-width: 768px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; max-width: 900px; }
  .booking-layout { grid-template-columns: 1fr 320px; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .options-grid { grid-template-columns: repeat(4, 1fr); }
  .admin-sidebar { width: 220px; min-height: 100vh; position: fixed; right: 0; top: 0; padding-top: 24px; }
  .admin-sidebar a { display: block; margin: 0; padding: 12px 18px; }
  .admin-main { margin-right: 220px; padding: 28px; }
  .hero-photo-frame { max-height: 520px; aspect-ratio: 16/9; }
}


/* Nationality flags */
.nationality-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .nationality-grid { grid-template-columns: repeat(5, 1fr); }
}
.nationality-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px;
}
.nationality-opt .flag {
  font-size: 2rem; line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
}
.nationality-opt strong { font-size: .95rem; }


/* Sponsor logos (original style) */
.sponsors-row {
  display: flex; justify-content: center; align-items: center;
  gap: 36px; flex-wrap: wrap;
}
.sponsor-logo {
  height: auto; width: auto; object-fit: contain;
  max-height: 64px;
}
.logo-ooredoo { max-height: 48px; max-width: 180px; }
.logo-mol { max-height: 72px; max-width: 280px; }


/* Sponsors banner image (exact from design) */
.sponsors {
  background: #fff;
  padding: 8px 0 20px;
  text-align: center;
  border-bottom: 1px solid #eef2f3;
}
.sponsors-banner {
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
#service-recruit { scroll-margin-top: 80px; }


/* ===== Official order summary (post-confirm) ===== */
.order-page { background: #f5f7f9; padding: 16px 0 48px; min-height: 70vh; }
.order-wrap { max-width: 480px; }
.back-home {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
  margin-bottom: 18px;
}
.order-official {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.06); margin-bottom: 18px;
}
.order-official-top {
  height: 6px;
  background: linear-gradient(90deg, #1a237e, #8e1b3a 50%, #1a237e);
}
.order-official-body { padding: 28px 22px 26px; text-align: center; }
.order-mol-logo {
  max-height: 140px; width: auto; max-width: 95%; margin: 0 auto 16px; object-fit: contain;
}
.order-official-sub {
  color: #8e1b3a; font-weight: 700; font-size: .95rem; margin-bottom: 10px;
}
.order-official-title {
  font-family: 'Cairo', sans-serif; font-size: 1.55rem; font-weight: 900;
  color: var(--navy); margin-bottom: 10px;
}
.order-official-desc {
  color: var(--muted); font-size: .95rem; line-height: 1.75; max-width: 340px; margin: 0 auto;
}

.order-pay-card {
  background: #fff; border-radius: 18px; padding: 22px 18px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.order-pay-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.order-card-badge {
  width: 40px; height: 40px; border-radius: 50%;
  background: #eef2f5; color: #4a5c64;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.order-card-badge svg { display: block; }

.order-pay-head h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--navy);
}
.order-pay-icon {
  width: 36px; height: 36px; border-radius: 50%; background: #eef2f5;
  display: flex; align-items: center; justify-content: center; color: #5a6a72;
}

.order-why {
  background: #f4f6f8; border-radius: 14px; padding: 16px 14px; margin-bottom: 18px;
}
.order-why-title {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; color: var(--navy); margin-bottom: 10px; font-size: 1rem;
}
.order-why p { color: #5a6a72; font-size: .92rem; line-height: 1.8; }
.order-why hr { border: none; border-top: 1px solid #e0e6ea; margin: 14px 0; }
.order-promo { font-size: .92rem !important; }
.c-red { color: #8e1b3a; }

.order-lines { margin-bottom: 18px; }
.order-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid #eef1f3; font-size: .95rem;
}
.order-line span { color: #6b7a80; }
.order-line strong { color: var(--navy); font-weight: 800; }
.order-line-now {
  border-bottom: none; padding-top: 16px;
}
.order-line-now .big { font-size: 1.35rem; }

.btn-pay-now {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px; border-radius: 999px;
  background: #6b1528; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(107,21,40,.28); margin-bottom: 12px;
}
.btn-pay-now:hover { background: #5a1020; color: #fff; }
.order-secure {
  text-align: center; font-size: .8rem; color: #8a9a9e;
}

.order-pay-icon, .order-why-ic { display: none !important; }
/* card badge stays visible */


/* ===== Payment gateway page ===== */
.pay-page { background: #f5f6f8; padding: 12px 0 50px; min-height: 70vh; }
.pay-wrap { max-width: 560px; }
.pay-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.pay-back { font-weight: 600; color: var(--navy); font-size: .95rem; }
.pay-mini-logo { height: 36px; width: auto; }

.pay-top-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px;
}
.pay-mini-card {
  background: #fff; border-radius: 16px; padding: 14px 14px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05); border: 1px solid #eef1f3;
}
.pay-mini-tag {
  display: inline-block; background: #f8e8ec; color: #8e1b3a;
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.tag-official { background: #f3f0f5; color: #6b3a5a; }
.pay-mini-label { color: #8a9a9e; font-size: .85rem; margin-bottom: 4px; }
.pay-mini-amount {
  font-size: 1.6rem; font-weight: 900; color: #8e1b3a; margin-bottom: 6px;
  font-family: 'Cairo', sans-serif;
}
.pay-mini-amount span { font-size: 1.8rem; }
.pay-mini-note { color: #9aa8ac; font-size: .75rem; line-height: 1.5; }
.pay-official-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pay-official-title { font-weight: 900; font-size: 1.15rem; color: var(--navy); }
.pay-official-sub { color: #8a9a9e; font-size: .8rem; margin-top: 4px; }
.pay-mol-sm { height: 48px; width: auto; max-width: 110px; object-fit: contain; }

.pay-method {
  background: #fff; border-radius: 14px; margin-bottom: 10px;
  border: 1px solid #e8ecef; box-shadow: 0 2px 10px rgba(0,0,0,.03);
  overflow: hidden;
}
.pay-method-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; background: #fff; border: none; cursor: pointer;
  font-family: inherit; text-align: right; color: inherit;
}
.pay-method-head.static { cursor: default; }
.pay-method-ic {
  width: 36px; height: 36px; border-radius: 10px; background: #f0f3f5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pay-method-txt { flex: 1; min-width: 0; }
.pay-method-txt strong { display: block; font-size: .95rem; color: var(--navy); }
.pay-method-txt small { display: block; color: #9aa8ac; font-size: .75rem; margin-top: 2px; }
.pay-method-brands { display: flex; gap: 6px; align-items: center; }
.brand {
  font-size: .65rem; font-weight: 800; padding: 3px 6px; border-radius: 4px;
  background: #f0f3f5; color: #555;
}
.brand.visa { background: #1a1f71; color: #fff; }
.brand.mc { background: #eb001b; color: #fff; }
.brand.naps { background: #e8f0fe; color: #1a56db; }
.brand.himyan { background: #1e3a5f; color: #fff; }
.brand.apple { background: #111; color: #fff; border-radius: 6px; padding: 4px 8px; }
.pay-chevron { color: #99a; font-size: .85rem; }

.pay-card-form {
  background: #fff; border-radius: 16px; padding: 20px 16px 18px;
  border: 1px solid #e8ecef; box-shadow: 0 4px 16px rgba(0,0,0,.04);
  margin-top: 6px;
}
.pay-form-hint { color: #8a9a9e; font-size: .88rem; margin-bottom: 16px; line-height: 1.6; text-align: center; }
.pay-form-title { text-align: center; margin-bottom: 8px; font-size: 1.2rem; color: var(--navy); }
.input-with-ic { position: relative; }
.input-with-ic .in-ic {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: #9aa8ac; font-size: .9rem; pointer-events: none;
}
.input-with-ic input { padding-right: 36px; }
.pay-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 10px; font-size: 1.05rem;
}
.pay-total-row strong { color: #8e1b3a; font-size: 1.25rem; font-weight: 900; }
.pay-terms {
  background: #e8f7ef; color: #2d6a4f; border-radius: 12px;
  padding: 12px 14px; font-size: .82rem; line-height: 1.6; margin-bottom: 14px;
}
.pay-terms a { color: #1b4332; font-weight: 700; text-decoration: underline; }
.btn-pay-red {
  width: 100%; border: none; cursor: pointer; font-family: inherit;
  background: #e10600; color: #fff; font-weight: 800; font-size: 1.1rem;
  padding: 15px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(225,6,0,.28);
}
.btn-pay-red:hover { background: #c10500; }
.pay-secure-line { text-align: center; color: #9aa8ac; font-size: .8rem; margin-top: 12px; }
.otp-input { letter-spacing: 6px; text-align: center; font-size: 1.3rem; font-weight: 700; }
.pay-wait-box {
  background: #fff; border-radius: 16px; padding: 36px 22px; text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.06); margin-top: 40px;
}
.pay-status {
  margin: 18px 0; padding: 14px; border-radius: 12px; background: #f0f9fa; font-weight: 700;
}
.pay-status.ok { background: #e8f5e9; color: #1b5e20; }
.pay-status.bad { background: #ffebee; color: #b71c1c; }
.pay-pid { color: #99a; font-size: .85rem; }

@media (max-width: 520px) {
  .pay-top-cards { grid-template-columns: 1fr; }
}


/* Payment method rows (screenshot match) */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.pay-row {
  width: 100%;
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid #e8ecef; border-radius: 16px;
  padding: 14px 14px 12px; cursor: pointer; text-align: right;
  font-family: inherit; color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.pay-row.is-open { border-color: #dfe6ea; }
.pay-row-side { display: flex; align-items: center; min-width: 28px; padding-top: 2px; }
.pay-row-chevron { color: #9aa3a8; font-size: 1rem; line-height: 1; }
.pay-row-main { flex: 1; min-width: 0; }
.pay-row-title-line {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 4px;
}
.pay-row-title-line strong { font-size: .98rem; color: var(--navy); font-weight: 800; }
.pay-row-badge {
  width: 34px; height: 34px; border-radius: 10px; background: #f3e8ec; color: #8e1b3a;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pay-row-main small {
  display: block; color: #9aa8ac; font-size: .78rem; line-height: 1.45; margin-bottom: 8px;
}
.pay-row-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-logo { height: 18px; width: auto; display: inline-block; }
.apple-pay-pill {
  display: inline-flex; align-items: center; gap: 3px;
  background: #111; color: #fff; border-radius: 8px;
  padding: 5px 8px; font-size: .72rem; font-weight: 700;
}


.pay-method-link { text-decoration: none; color: inherit; display: flex !important; }
.pay-method-link:hover { background: #fafbfc; }
.brand .fin-ic {
  display: inline-block; width: 14px; height: 10px; margin-left: 4px; vertical-align: middle;
  background: linear-gradient(120deg, #6b1530, #c6284a);
  clip-path: polygon(0 50%, 40% 0, 100% 0, 100% 100%, 40% 100%);
}
.brand.naps, .brand.himyan { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }


.brand-img {
  height: 22px; width: auto; object-fit: contain; display: inline-block;
  vertical-align: middle;
}
.brand-visa-mc { height: 26px; }
.brand-amex { height: 22px; border-radius: 4px; }
.brand-naps { height: 16px; }
.brand-himyan { height: 15px; }
.pay-method-brands { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }





/* Local debit combo image — right side with other method brands */
.brand-local-combo {
  height: 36px !important;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.pay-method-brands {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-right: 0;
  margin-left: 8px;
}


.pay-method-brands .brand-naps {
  height: 16px !important; width: auto; max-width: 68px;
}
.pay-method-brands .brand-himyan {
  height: 15px !important; width: auto; max-width: 68px;
}
/* hide old combo asset if still referenced */
.brand-local-combo { display: none !important; }
