/* EDU Pay — طرق السداد v4/v5 (وضوح النص على الخلفية الفاتحة) */
.payhub-app--v4 {
  --ph-bg: #fff;
  --ph-surface: #ffffff;
  --ph-border: #e8deff;
  --ph-brand: #152238;
  --ph-brand-2: #1A2942;
  --ph-brand-deep: #0B1426;
  --ph-text: #070D18;
  --ph-muted: #5f5572;
  --ph-card: #ffffff;
  --ph-shadow: 0 16px 40px rgba(11, 20, 38, 0.12);
  --ph-radius: 22px;
  min-height: 100vh;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background: var(--ph-bg);
  color: var(--ph-text);
  font-family: inherit;
}

/* لا تُورّث ثيم الطالب خلفية فاتحة مع نص أبيض */
.edu-student-mode .payhub-app--v4.edu-app,
.edu-parent-mode .payhub-app--v4.edu-app,
.edu-company-mode .payhub-app--v4.edu-app,
.payhub-app--v4.edu-app {
  background: var(--ph-bg) !important;
  color: var(--ph-text);
}

.payhub-app--v4::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(139, 53, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(11, 20, 38, 0.06), transparent 50%);
  z-index: 0;
}

.payhub-shell {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 16px 28px;
}

/* —— Header —— */
.payhub-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.payhub-topbar__back {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  color: var(--ph-brand-deep);
  box-shadow: 0 4px 14px rgba(11, 20, 38, 0.08);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.payhub-topbar__back:hover {
  background: #F3F2EF;
}
.payhub-topbar__back:active {
  transform: scale(0.96);
}
.payhub-topbar__back svg {
  width: 20px;
  height: 20px;
}

.payhub-topbar__text {
  flex: 1;
  min-width: 0;
}
.payhub-topbar__text h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ph-text) !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.payhub-topbar__text p {
  margin: 3px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ph-muted) !important;
  line-height: 1.4;
}

.payhub-topbar__shield {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
  display: grid;
  place-items: center;
}
.payhub-topbar__shield svg {
  width: 22px;
  height: 22px;
}

/* —— Steps —— */
.payhub-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  padding: 0 4px;
}
.payhub-steps__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.payhub-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  inset-inline-start: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: #E0E0E0;
  border-radius: 2px;
}
.payhub-steps__item.is-done:not(:last-child)::after {
  background: linear-gradient(90deg, var(--ph-brand), var(--ph-brand-2));
}
.payhub-steps__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  background: #fff;
  border: 2px solid #E0E0E0;
  color: var(--ph-muted);
  position: relative;
  z-index: 1;
}
.payhub-steps__item.is-done .payhub-steps__dot {
  background: linear-gradient(135deg, var(--ph-brand-deep), var(--ph-brand));
  border-color: transparent;
  color: #fff;
}
.payhub-steps__item.is-current .payhub-steps__dot {
  background: #fff;
  border-color: var(--ph-brand-2);
  color: var(--ph-brand-deep);
  box-shadow: 0 0 0 4px rgba(11, 20, 38, 0.25);
}
.payhub-steps__label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ph-muted);
  text-align: center;
  max-width: 90px;
  line-height: 1.3;
}
.payhub-steps__item.is-current .payhub-steps__label {
  color: var(--ph-brand-deep);
}
.payhub-steps__item.is-done .payhub-steps__label {
  color: var(--ph-text);
}

/* —— Order summary —— */
.payhub-order {
  background: linear-gradient(155deg, rgba(91, 33, 182, 0.95) 0%, rgba(11, 20, 38, 0.92) 48%, rgba(109, 40, 217, 0.98) 100%);
  border-radius: var(--ph-radius);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--ph-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.payhub-order,
.payhub-order h2,
.payhub-order p,
.payhub-order strong,
.payhub-order em,
.payhub-order span {
  color: #fff;
}
.payhub-order::before {
  content: "";
  position: absolute;
  top: -40%;
  inset-inline-end: -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.payhub-order__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
}
.payhub-chip {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}
.payhub-chip--ok {
  background: rgba(34, 197, 94, 0.35);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.payhub-chip--warn {
  background: rgba(251, 191, 36, 0.28);
  border: 1px solid rgba(253, 224, 71, 0.35);
  color: #fffbeb;
}

.payhub-order__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
  position: relative;
}

.payhub-order__ref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  opacity: 0.95;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.payhub-order__ref svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.payhub-order__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}
.payhub-order__total-label {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.88;
}
.payhub-order__total-value {
  text-align: end;
}
.payhub-order__total-value strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.payhub-order__total-value em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0.85;
  text-align: inherit;
}

/* —— Picker section —— */
.payhub-section {
  margin-bottom: 8px;
}
.payhub-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.payhub-section__head h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ph-text) !important;
  letter-spacing: -0.01em;
}
.payhub-section__head p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ph-muted) !important;
  font-weight: 600;
  line-height: 1.5;
  max-width: 280px;
}
.payhub-section__count {
  flex-shrink: 0;
  min-width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #F3F2EF;
  border: 1px solid #E0E0E0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--ph-brand-deep) !important;
}

/* —— Method tiles —— */
.payhub-method-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payhub-tile {
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  color: #0f172a;
  background: var(--ph-card);
  border: 1.5px solid #e8ecf3;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.payhub-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(11, 20, 38, 0.04));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.payhub-tile:hover {
  border-color: #d8b4fe;
  box-shadow: 0 14px 32px rgba(91, 33, 182, 0.14);
}
.payhub-tile:hover::after {
  opacity: 1;
}
.payhub-tile:active {
  transform: scale(0.985);
}

.payhub-tile--featured {
  border-color: #C7C7C7;
  box-shadow: 0 12px 36px rgba(11, 20, 38, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #F3F2EF 55%, #F3F2EF 100%);
  padding-top: 30px;
}
.payhub-tile--featured::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ph-brand), var(--ph-brand-2));
  border-radius: 20px 0 0 20px;
}
[dir="rtl"] .payhub-tile--featured::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
  border-radius: 0 20px 20px 0;
}

.payhub-tile--locked {
  border-style: dashed;
  border-color: #d4d4d8;
  background: #fafafa;
  opacity: 0.92;
}
.payhub-tile--locked:hover {
  border-color: #a1a1aa;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.payhub-tile__flag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 0.62rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ph-brand-deep), var(--ph-brand));
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.35);
}

.payhub-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.payhub-tile__icon svg {
  width: 26px;
  height: 26px;
}
.payhub-tile__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.payhub-tile__icon--photo {
  background: #fff;
  border: 1px solid #D8DEE8;
  padding: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.payhub-tile--edu .payhub-tile__icon--photo {
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 20, 38, 0.18);
}
.payhub-tile__icon-label {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.payhub-tile--edu .payhub-tile__icon {
  background: linear-gradient(145deg, #070D18, #152238);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 20, 38, 0.35);
}
.payhub-tile--card .payhub-tile__icon {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
}
.payhub-tile--bank .payhub-tile__icon {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  color: #475569;
}

.payhub-tile__content {
  min-width: 0;
  position: relative;
  z-index: 1;
}
.payhub-tile__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.payhub-tile__head strong {
  font-size: 0.98rem;
  font-weight: 900;
  color: #0f172a !important;
  line-height: 1.35;
}
.payhub-tile__badge {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.payhub-tile__badge--success { background: #dcfce7; color: #166534; }
.payhub-tile__badge--warn { background: #fef3c7; color: #92400e; }
.payhub-tile__badge--info { background: #dbeafe; color: #1e40af; }
.payhub-tile__badge--neutral { background: #f1f5f9; color: #475569; }

.payhub-tile__content p {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b !important;
  font-weight: 600;
  line-height: 1.5;
}

.payhub-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--ph-brand-deep) !important;
}
.payhub-tile--locked .payhub-tile__cta {
  color: #b45309;
}

.payhub-tile__chevron {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f4f4f5;
  display: grid;
  place-items: center;
  color: #71717a;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.payhub-tile:hover .payhub-tile__chevron {
  background: #F3F2EF;
  color: var(--ph-brand-deep);
}
.payhub-tile--featured .payhub-tile__chevron {
  background: #F3F2EF;
  color: var(--ph-brand-deep);
}
.payhub-tile__chevron svg {
  width: 18px;
  height: 18px;
}

/* —— Trust bar —— */
.payhub-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.payhub-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 14px 8px;
  border-radius: 16px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  color: var(--ph-muted) !important;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 4px 16px rgba(11, 20, 38, 0.06);
}
.payhub-trust__item span:last-child {
  color: var(--ph-text) !important;
}
.payhub-trust__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #F3F2EF;
  display: grid;
  place-items: center;
  color: var(--ph-brand-deep);
}
.payhub-trust__icon svg {
  width: 18px;
  height: 18px;
}

.payhub-empty {
  padding: 32px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--ph-text);
}
.payhub-empty .auth-alert {
  color: #991b1b;
}

/* إجبار ألوان النص داخل الصفحة (تجاوز وراثة أبيض من ثيمات أخرى) */
.payhub-app--v4 .payhub-topbar__text h1 {
  color: var(--ph-text) !important;
}
.payhub-app--v4 .payhub-topbar__text p {
  color: var(--ph-muted) !important;
}
.payhub-app--v4 .payhub-tile strong,
.payhub-app--v4 .payhub-tile p,
.payhub-app--v4 .payhub-tile .payhub-tile__cta {
  color: inherit;
}
.payhub-app--v4 .payhub-tile .payhub-tile__head strong {
  color: #0f172a !important;
}
.payhub-app--v4 .payhub-tile .payhub-tile__content p {
  color: #64748b !important;
}
.payhub-app--v4 .payhub-tile .payhub-tile__cta {
  color: var(--ph-brand-deep) !important;
}

/* compact (checkout embed) */
.payhub-method-list--compact .payhub-tile {
  padding: 12px;
  border-radius: 16px;
  grid-template-columns: 44px 1fr 28px;
}
.payhub-method-list--compact .payhub-tile__icon {
  width: 44px;
  height: 44px;
}
.payhub-methods--compact { margin: 0; }

.checkout-pay-split { margin-bottom: 12px; }
.payhub-manual-divider {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  margin: 18px 0 14px;
}

[dir="rtl"] .payhub-topbar__back svg,
[dir="rtl"] .payhub-tile__chevron svg {
  transform: scaleX(-1);
}

.payhub-app { padding-bottom: 100px; }
.payhub-flow-app { padding: 20px 16px 100px; background: #f8fafc; }

/* —— Web shell —— */
html.edu-view-web .edu-web-content .payhub-app--v4 {
  background: #fff !important;
  min-height: auto;
  padding-bottom: 2.5rem;
}

html.edu-view-web .edu-web-content .payhub-app--v4::before {
  display: none;
}

html.edu-view-web .edu-web-content .payhub-shell {
  max-width: 640px;
  margin-inline: auto;
  padding: 20px 20px 32px;
}

html.edu-view-web .edu-web-content .payhub-order,
html.edu-view-web .edu-web-content .payhub-section {
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(11, 20, 38, 0.08);
}

html.edu-view-web .edu-web-content .payhub-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  html.edu-view-web .edu-web-content .payhub-trust {
    grid-template-columns: 1fr;
  }
}
.payhub-flow-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e7eaf3;
  margin-bottom: 18px;
}
.payhub-flow-card.is-ok { border-color: #bbf7d0; background: #f0fdf4; }
.payhub-flow-card.is-err { border-color: #fecaca; background: #fef2f2; }
.payhub-flow-btn { width: 100%; margin-bottom: 8px; }

/* —— Coursera-style checkout —— */
.payhub-app--coursera {
  --co-bg: #f5f7f8;
  --co-surface: #ffffff;
  --co-border: #d1d7dc;
  --co-text: #1c1d1f;
  --co-muted: #6a6f73;
  --co-brand: #000000;
  --co-brand-hover: #1a1a1a;
  background: var(--co-bg) !important;
  color: var(--co-text);
  min-height: 100vh;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}

.payhub-app--coursera::before {
  display: none !important;
}

.payhub-app--coursera .payhub-shell--checkout {
  max-width: 1080px;
  margin-inline: auto;
  padding: 16px 20px 40px;
}

.payhub-checkout-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--co-border);
  margin-bottom: 16px;
}

.payhub-checkout-header__back {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--co-border);
  background: var(--co-surface);
  color: var(--co-text);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.payhub-checkout-header__title {
  flex: 1;
  min-width: 0;
}

.payhub-checkout-header__title strong {
  display: block;
  font-size: 1.05rem;
  color: var(--co-text) !important;
}

.payhub-checkout-header__title small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--co-muted) !important;
  font-weight: 600;
}

.payhub-checkout-header__lock {
  font-size: 1.1rem;
}

.payhub-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--co-muted);
}

.payhub-progress__item.is-done {
  color: var(--co-text);
}

.payhub-progress__item.is-current {
  color: var(--co-brand);
  font-weight: 900;
}

.payhub-progress__sep {
  color: #c0c4c7;
  font-size: 0.9rem;
}

.payhub-checkout-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.payhub-summary-card,
.payhub-pay-card {
  background: var(--co-surface);
  border: 1px solid var(--co-border);
  border-radius: 4px;
  padding: 24px;
  box-shadow: none;
  min-width: 0;
}

.payhub-summary-card h2,
.payhub-pay-card h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--co-text) !important;
}

.payhub-summary-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8ecef;
  margin-bottom: 16px;
}

.payhub-summary-item__thumb {
  width: 72px;
  height: 48px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--co-border);
  background: #f1f3f5;
}

.payhub-summary-item__thumb--placeholder {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--co-brand);
  letter-spacing: 0.04em;
}

.payhub-summary-item__body {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.payhub-summary-item__type {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--co-muted);
  margin-bottom: 4px;
}

.payhub-summary-item__body h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--co-text) !important;
  font-weight: 800;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.payhub-summary-item__body p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--co-muted) !important;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.payhub-summary-item__price {
  flex: 0 0 auto;
  text-align: end;
  white-space: nowrap;
  padding-inline-start: 8px;
}

.payhub-summary-item__price--compact {
  display: none;
}

.payhub-summary-item__price strong {
  display: block;
  font-size: 1rem;
  color: var(--co-text) !important;
}

.payhub-summary-item__price em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--co-muted);
}

.payhub-summary-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.payhub-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--co-muted);
}

.payhub-summary-line--total {
  padding-top: 12px;
  border-top: 1px solid #e8ecef;
  font-size: 1rem;
  color: var(--co-text);
}

.payhub-summary-line--total strong {
  font-size: 1.15rem;
  color: var(--co-text) !important;
}

.payhub-summary-ref {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  color: var(--co-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payhub-summary-guarantee {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--co-muted);
}

.payhub-pay-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.payhub-pay-card__head h2 {
  margin-bottom: 4px;
}

.payhub-pay-card__head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--co-muted) !important;
  line-height: 1.5;
  max-width: 420px;
}

.payhub-pay-card__count {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f5;
  border: 1px solid var(--co-border);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--co-text);
}

.payhub-pay-card__edu-badge {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #047857;
}

/* Payment method rows — Coursera checkout list */
.payhub-app--coursera .payhub-method-list {
  gap: 0;
  border: 1px solid var(--co-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--co-surface);
}

.payhub-app--coursera .payhub-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--co-border);
  box-shadow: none !important;
  background: var(--co-surface);
  overflow: visible;
  transform: none;
}

.payhub-app--coursera .payhub-tile:last-child {
  border-bottom: none;
}

.payhub-app--coursera .payhub-tile::before,
.payhub-app--coursera .payhub-tile::after {
  display: none !important;
}

.payhub-app--coursera .payhub-tile:hover {
  background: #f7f9fa;
}

.payhub-app--coursera .payhub-tile:active {
  transform: none;
}

.payhub-app--coursera .payhub-tile--featured {
  background: #f7f9fa;
  padding-top: 18px;
}

.payhub-app--coursera .payhub-tile--locked {
  background: #fafafa;
  opacity: 1;
}

.payhub-app--coursera .payhub-tile__main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.payhub-app--coursera .payhub-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: #f1f3f5;
  flex-shrink: 0;
  box-shadow: none;
}

.payhub-app--coursera .payhub-tile--edu .payhub-tile__icon {
  background: #f1f3f5;
  color: var(--co-brand);
  box-shadow: none;
}

.payhub-app--coursera .payhub-tile__content {
  flex: 1;
  min-width: 0;
}

.payhub-app--coursera .payhub-tile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  margin-bottom: 4px;
}

.payhub-app--coursera .payhub-tile__head strong {
  flex: 1 1 140px;
  min-width: 0;
  color: var(--co-text) !important;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
}

.payhub-app--coursera .payhub-tile__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.payhub-app--coursera .payhub-tile__flag {
  position: static;
  display: inline-block;
  margin: 0;
  padding: 3px 8px;
  background: var(--co-brand);
  box-shadow: none;
  font-size: 0.62rem;
  border-radius: 999px;
  white-space: nowrap;
}

.payhub-app--coursera .payhub-tile__content p {
  margin: 0;
  color: var(--co-muted) !important;
  font-size: 0.8rem;
  line-height: 1.5;
  word-break: break-word;
}

.payhub-app--coursera .payhub-tile__cta {
  display: none;
}

.payhub-app--coursera .payhub-tile__chevron {
  display: none;
}

.payhub-trust--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e8ecef;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--co-muted);
}

@media (min-width: 900px) {
  .payhub-checkout-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 440px);
    gap: 32px;
  }

  .payhub-pay-card {
    position: sticky;
    top: 96px;
  }

}

@media (max-width: 899px) {
  .payhub-checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payhub-summary-card {
    order: -1;
  }
}

@media (max-width: 720px) {
  .payhub-summary-item__thumb {
    width: 64px;
    height: 44px;
    flex-basis: 64px;
  }

  .payhub-app--coursera .payhub-tile {
    padding: 16px 14px;
    gap: 12px;
  }

  .payhub-app--coursera .payhub-tile__icon {
    width: 44px;
    height: 44px;
  }
}

html.edu-view-web .edu-web-content .payhub-app--coursera {
  background: var(--co-bg) !important;
}

html.edu-view-web .edu-web-content .payhub-app--coursera .payhub-shell--checkout {
  max-width: 1080px;
  padding: 24px 24px 48px;
}

html.edu-view-web .edu-web-content .payhub-app--coursera {
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}

html.edu-view-web .edu-web-content .payhub-app--coursera .payhub-tile {
  border-radius: 0;
  box-shadow: none !important;
}

html.edu-view-web .edu-web-content .payhub-app--coursera .payhub-tile--featured {
  background: #f7f9fa;
  padding-top: 18px;
}

[dir="rtl"] .payhub-checkout-header__back svg,
[dir="rtl"] .payhub-app--coursera .payhub-tile__chevron svg {
  transform: scaleX(-1);
}

/* —— Enhanced stepper —— */
.payhub-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.payhub-stepper__step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--co-muted, #6a6f73);
}

.payhub-stepper__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #c0c4c7;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  background: #fff;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.payhub-stepper__step.is-done .payhub-stepper__dot {
  border-color: var(--co-brand, #000000);
  background: var(--co-brand, #000000);
  color: #fff;
}

.payhub-stepper__step.is-current .payhub-stepper__dot {
  border-color: var(--co-brand, #000000);
  color: var(--co-brand, #000000);
  box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.12);
}

.payhub-stepper__step.is-current .payhub-stepper__label {
  color: var(--co-brand, #000000);
  font-weight: 900;
}

.payhub-stepper__step.is-done .payhub-stepper__label {
  color: var(--co-text, #1c1d1f);
}

/* —— Discount lines —— */
.payhub-summary-line--strike {
  font-size: 0.82rem;
}

.payhub-summary-line--strike s {
  color: var(--co-muted, #6a6f73);
}

.payhub-summary-line--discount {
  color: #047857;
  font-weight: 800;
}

.payhub-summary-coupon {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
}

/* —— Radio picker mode —— */
.payhub-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.payhub-method-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.payhub-method-list--radio .payhub-tile {
  cursor: pointer;
  transition: background 0.15s ease;
}

.payhub-method-list--radio label.payhub-tile {
  user-select: none;
}

.payhub-tile__radio {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 16px 0 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.payhub-tile__radio:checked {
  border-color: var(--co-brand, #000000);
  background: radial-gradient(circle at center, var(--co-brand, #000000) 0 5px, #fff 6px);
  box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.12);
}

.payhub-method-list--radio .payhub-tile.is-selected,
.payhub-method-list--radio .payhub-tile:has(.payhub-tile__radio:checked) {
  background: #eef2f7;
}

.payhub-method-list--radio .payhub-tile.is-selected .payhub-tile__main,
.payhub-method-list--radio .payhub-tile:has(.payhub-tile__radio:checked) .payhub-tile__main {
  border-inline-start: 3px solid var(--co-brand, #000000);
  padding-inline-start: 11px;
  margin-inline-start: -3px;
}

.payhub-method-list--radio .payhub-tile:focus-within {
  outline: 2px solid rgba(13, 27, 62, 0.3);
  outline-offset: -2px;
  z-index: 1;
}

.payhub-continue-wrap {
  margin-top: 20px;
}

.payhub-continue-btn {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 4px;
}

.payhub-continue-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.payhub-continue-btn small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.payhub-continue-hint {
  margin: 10px 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--co-muted, #6a6f73);
  text-align: center;
}

/* —— Empty methods —— */
.payhub-empty-methods {
  text-align: center;
  padding: 32px 16px;
  border: 1px dashed var(--co-border, #d1d7dc);
  border-radius: 4px;
  background: #fafbfc;
}

.payhub-empty-methods__icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.payhub-empty-methods h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--co-text, #1c1d1f) !important;
}

.payhub-empty-methods p {
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: var(--co-muted, #6a6f73) !important;
}

/* —— Mobile sticky bar —— */
.payhub-mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 120;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--co-border, #d1d7dc);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.payhub-mobile-bar.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.payhub-mobile-bar__total {
  flex: 1;
  min-width: 0;
}

.payhub-mobile-bar__total small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--co-muted, #6a6f73);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payhub-mobile-bar__total strong {
  display: block;
  font-size: 1.05rem;
  color: var(--co-text, #1c1d1f) !important;
}

.payhub-mobile-bar__btn {
  flex-shrink: 0;
  min-width: 140px;
  min-height: 44px;
  padding-inline: 18px;
  font-weight: 900;
}

@media (max-width: 899px) {
  .payhub-app--coursera {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .payhub-mobile-bar {
    display: flex;
  }
}

/* —— Checkout review (step 1) —— */
.payhub-app--review .payhub-review-card h2 {
  margin-bottom: 6px;
}

.payhub-review-lead {
  margin: 0 0 18px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--co-muted, #6a6f73) !important;
}

.payhub-review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.payhub-review-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f3f5;
  border: 1px solid var(--co-border, #d1d7dc);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--co-text, #1c1d1f);
}

.payhub-review-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
}

.payhub-review-banner strong {
  display: block;
  font-size: 0.86rem;
  color: var(--co-text, #1c1d1f) !important;
}

.payhub-review-banner p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--co-muted, #6a6f73) !important;
  line-height: 1.45;
}

.payhub-review-features {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.payhub-review-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 4px;
  background: #f7f9fa;
  border: 1px solid #e8ecef;
}

.payhub-review-features strong {
  display: block;
  font-size: 0.86rem;
  color: var(--co-text, #1c1d1f) !important;
}

.payhub-review-features small {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--co-muted, #6a6f73);
}

.payhub-review-form .payhub-continue-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.payhub-review-cancel {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--co-muted, #6a6f73);
  text-decoration: none;
}

.payhub-review-cancel:hover {
  color: var(--co-brand, #000000);
}

@media (min-width: 900px) {
  .payhub-app--review .payhub-checkout-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .payhub-app--review .payhub-summary-card {
    order: 2;
  }

  .payhub-app--review .payhub-review-card {
    order: 1;
  }

  .payhub-app--gateway .payhub-checkout-grid {
    grid-template-columns: minmax(0, 1fr) 440px;
  }

  .payhub-app--gateway .payhub-summary-card {
    order: 2;
  }

  .payhub-app--gateway .payhub-gateway-card {
    order: 1;
  }
}

/* —— Gateway / PayPal (step 3) —— */
.payhub-summary-fx {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1e40af;
}

.payhub-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

.payhub-alert p {
  margin: 0;
}

.payhub-alert__hint {
  margin: 8px 0 0;
  font-size: 0.76rem;
  font-weight: 600;
}

.payhub-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.payhub-alert--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.payhub-alert--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.payhub-paypal-box {
  padding: 20px;
  border: 1px solid var(--co-border);
  border-radius: 6px;
  background: #fafbfc;
  margin-bottom: 16px;
}

.payhub-paypal-box__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.payhub-paypal-logo {
  display: block;
  height: 22px;
  width: auto;
}

.payhub-paypal-box__tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 999px;
}

.payhub-paypal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 4px;
  background: #0070ba !important;
  border-color: #0070ba !important;
}

.payhub-paypal-btn:hover {
  background: #003087 !important;
  border-color: #003087 !important;
}

.payhub-paypal-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.payhub-paypal-btn__text strong {
  font-size: 1rem;
  color: #fff !important;
}

.payhub-paypal-btn__text small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.payhub-paypal-btn__arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
}

.payhub-paypal-alt {
  margin-top: 14px;
  border: 1px dashed var(--co-border);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.payhub-paypal-alt summary {
  padding: 10px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--co-muted);
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.payhub-paypal-alt summary::-webkit-details-marker {
  display: none;
}

.payhub-paypal-buttons {
  min-height: 48px;
  padding: 10px 12px 12px;
}

.payhub-paypal-loading {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--co-muted);
}

.payhub-paypal-secure {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--co-muted);
}

.payhub-manual-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--co-border);
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.payhub-manual-link:hover {
  border-color: var(--co-brand);
  background: #f7f9fa;
}

.payhub-manual-link__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.payhub-manual-link__text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--co-text) !important;
}

.payhub-manual-link__text small {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  color: var(--co-muted);
  line-height: 1.45;
}

.payhub-mobile-bar--gateway .payhub-mobile-bar__btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] .payhub-paypal-btn__arrow {
  transform: scaleX(-1);
}

/* —— Manual payment / bank transfer —— */
.payhub-app--manual .payhub-manual-guide {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.payhub-app--manual .payhub-manual-guide li {
  padding: 10px 12px;
  border-radius: 4px;
  background: #f7f9fa;
  border: 1px solid #e8ecef;
}

.payhub-app--manual .payhub-manual-guide strong {
  display: block;
  font-size: 0.78rem;
  color: var(--co-text, #1c1d1f) !important;
  margin-bottom: 3px;
}

.payhub-app--manual .payhub-manual-guide span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--co-muted, #6a6f73);
}

.payhub-manual-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--co-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}

.payhub-manual-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--co-border);
  background: var(--co-surface);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.payhub-manual-method:last-child {
  border-bottom: none;
}

.payhub-manual-method:hover {
  background: #f7f9fa;
}

.payhub-manual-method.is-active {
  background: #eef2f7;
  box-shadow: inset 3px 0 0 var(--co-brand, #000000);
}

[dir="rtl"] .payhub-manual-method.is-active {
  box-shadow: inset -3px 0 0 var(--co-brand, #000000);
}

.payhub-manual-method__icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: contain;
  background: #f1f3f5;
  border: 1px solid var(--co-border);
  flex-shrink: 0;
}

.payhub-manual-method__icon--ph {
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--co-brand);
}

.payhub-manual-method__name {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--co-text) !important;
  line-height: 1.35;
}

.payhub-manual-method__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--co-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
}

.payhub-manual-detail {
  padding: 16px;
  border: 1px solid var(--co-border);
  border-radius: 6px;
  background: #fafbfc;
  margin-bottom: 18px;
}

.payhub-manual-detail__row {
  margin: 0 0 12px;
}

.payhub-manual-detail__row span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--co-muted);
  margin-bottom: 3px;
}

.payhub-manual-detail__row strong {
  font-size: 0.9rem;
  color: var(--co-text) !important;
}

.payhub-manual-detail__note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e8ecef;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--co-muted) !important;
}

.payhub-copy-box label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--co-text) !important;
}

.payhub-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--co-border);
}

.payhub-copy-row code {
  flex: 1 1 160px;
  min-width: 0;
  font-size: 0.84rem;
  word-break: break-all;
  color: var(--co-text);
  background: transparent;
  padding: 4px 0;
}

.payhub-copy-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.78rem;
  font-weight: 800;
}

.payhub-manual-form {
  margin-top: 4px;
}

.payhub-manual-form__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--co-text) !important;
}

.payhub-manual-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--co-text) !important;
}

.payhub-manual-form .edu-input {
  width: 100%;
  margin-bottom: 14px;
}

.payhub-manual-optional {
  font-weight: 600;
  color: var(--co-muted);
  font-size: 0.76rem;
}

.payhub-manual-success {
  max-width: 640px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .payhub-app--manual .payhub-checkout-grid {
    grid-template-columns: minmax(0, 1fr) 460px;
  }

  .payhub-app--manual .payhub-summary-card {
    order: 2;
  }

  .payhub-app--manual .payhub-manual-card {
    order: 1;
  }
}
