.aura-welcome-coupon-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(2px);
}
.aura-welcome-coupon-modal {
  position: relative;
  width: min(462px, calc(100vw - 32px));
  overflow: visible;
  border-radius: 8px 8px 30px 30px;
  color: #0f172a;
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 54%, #ffffff 100%);
  border: 1px solid rgba(37, 99, 235, 0.20);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
  font-family: inherit;
}
.aura-welcome-coupon-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 38px;
  height: 38px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 26px;
  line-height: 30px;
  cursor: pointer;
  z-index: 2;
}
.aura-welcome-coupon-head {
  padding: 18px 28px 10px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: 0.2px;
}
.aura-welcome-coupon-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 34% 1fr;
  min-height: 96px;
  margin: 10px 16px 34px;
  overflow: hidden;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.aura-welcome-coupon-ticket::before,
.aura-welcome-coupon-ticket::after {
  content: "";
  position: absolute;
  left: 34%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 999px;
  background: #2563eb;
  z-index: 1;
}
.aura-welcome-coupon-ticket::before { top: -9px; }
.aura-welcome-coupon-ticket::after { bottom: -9px; }
.aura-welcome-coupon-cutline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34%;
  border-left: 1px dashed rgba(37, 99, 235, 0.34);
}
.aura-welcome-coupon-discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  color: #2563eb;
  text-align: center;
}
.aura-welcome-coupon-discount strong {
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
}
.aura-welcome-coupon-discount span {
  margin-top: 6px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}
.aura-welcome-coupon-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 18px 14px;
}
.aura-welcome-coupon-info strong {
  color: #24242d;
  font-size: 18px;
  font-weight: 800;
}
.aura-welcome-coupon-info span {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
}
.aura-welcome-coupon-bottom {
  position: relative;
  margin-top: -18px;
  padding: 34px 28px 26px;
  border-radius: 50% 50% 0 0 / 15% 15% 0 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.10);
  text-align: center;
}
.aura-welcome-coupon-countdown {
  margin-bottom: 14px;
  color: #0f172a;
  font-size: 16px;
}
.aura-welcome-coupon-countdown b {
  display: inline-block;
  min-width: 28px;
  margin: 0 1px;
  padding: 2px 4px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.aura-welcome-coupon-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #2563eb 0%, #0f172a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 8px 20px rgba(37, 99, 235, 0.24);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}
.aura-coupon-checkout {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,246,255,0.96));
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  color: #121826;
  direction: ltr;
}
html[dir="rtl"] .aura-coupon-checkout { direction: rtl; text-align: right; }
.aura-coupon-checkout-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.aura-coupon-checkout-title strong {
  font-size: 18px;
  font-weight: 900;
}
.aura-coupon-badge {
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}
.aura-coupon-codebox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.aura-coupon-code {
  direction: ltr;
  border: 1px dashed rgba(37, 99, 235, 0.5);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  padding: 10px 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.aura-coupon-select,
.aura-coupon-button,
.aura-coupon-remove {
  min-height: 40px;
  border-radius: 10px;
  font-weight: 800;
}
.aura-coupon-select {
  width: 100%;
  border: 1px solid #d7dce8;
  background: #fff;
  color: #0f172a;
  padding: 0 10px;
}
.aura-coupon-button {
  border: 0;
  background: linear-gradient(180deg, #2563eb, #0f172a);
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
}
.aura-coupon-remove {
  border: 1px solid #d7dce8;
  background: #fff;
  color: #4b5563;
  padding: 0 14px;
  cursor: pointer;
}
.aura-coupon-summary {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: #4b5563;
  font-size: 14px;
}
.aura-coupon-summary b { color: #111827; }
.aura-coupon-success {
  margin-top: 12px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  padding: 10px 12px;
  font-weight: 800;
}
@media (max-width: 520px) {
  .aura-welcome-coupon-modal { width: min(420px, calc(100vw - 18px)); }
  .aura-welcome-coupon-head { font-size: 22px; padding-left: 22px; }
  .aura-welcome-coupon-ticket { margin-left: 12px; margin-right: 12px; }
}


/* Authenticated claim confirmation modal */
.aura-welcome-coupon-auth-card {
  position: relative;
  width: min(430px, calc(100vw - 28px));
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 54%, #ffffff 100%);
  border: 1px solid rgba(37, 99, 235, 0.20);
  box-shadow: 0 24px 70px rgba(10, 18, 35, 0.38);
  color: #0f172a;
  text-align: center;
  padding: 24px 18px 22px;
}
.aura-welcome-coupon-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #0f172a, #2563eb);
}

.aura-welcome-coupon-auth-card .aura-welcome-coupon-ticket {
  margin: 16px 0 18px;
  text-align: start;
}
.aura-welcome-coupon-auth-title {
  font-size: 25px;
  line-height: 1.1;
  font-weight: 950;
  font-style: italic;
}
.aura-welcome-coupon-auth-subtitle {
  margin-top: 8px;
  color: #475569;
  font-weight: 800;
}
.aura-welcome-coupon-auth-code {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px dashed rgba(37, 99, 235, 0.42);
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 950;
  letter-spacing: 1.6px;
}
.aura-welcome-coupon-auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.aura-welcome-coupon-auth-actions a,
.aura-welcome-coupon-auth-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}
.aura-welcome-coupon-auth-actions a {
  background: linear-gradient(180deg, #2563eb 0%, #0f172a 100%);
  color: #ffffff;
}
.aura-welcome-coupon-auth-actions button {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.aura-coupon-confirm {
  margin: 18px 0;
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}
.aura-coupon-note,
.aura-coupon-pending {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}
.aura-coupon-pending {
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
}

/* AURA final Arabic/coupon checkout stability fixes */
html[dir="rtl"] .aura-welcome-coupon-modal,
html[dir="rtl"] .aura-welcome-coupon-auth-card,
html[lang^="ar"] .aura-welcome-coupon-modal,
html[lang^="ar"] .aura-welcome-coupon-auth-card{direction:rtl;text-align:right}
html[dir="rtl"] .aura-welcome-coupon-countdown,
html[lang^="ar"] .aura-welcome-coupon-countdown{direction:rtl}
.aura-coupon-empty{border-style:dashed;opacity:.98}
.aura-coupon-empty .aura-coupon-note{font-weight:700;color:#475569}
.aura-coupon-confirm{margin-top:18px;margin-bottom:18px}
