@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Temiz, Düz Kurumsal Renk Paleti (Tek Renk - Gradyansız) */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-input: #ffffff;

  --primary: #1e40af;
  --primary-hover: #1d4ed8;
  --primary-active: #1e3a8a;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-subtle: #e2e8f0;
  --border-focus: #1e40af;

  --success: #10b981;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* =============================================================================
   ÜST KURUMSAL HEADER (LOGO TAM ORTALI, METİNSİZ, ROZETSİZ)
   ============================================================================= */
.checkout-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 24px;
}

.checkout-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /* LOGO TAM ORTADA */
  text-align: center;
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  max-height: 48px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.brand-logo-separator {
  width: 1px;
  height: 30px;
  background: #cbd5e1;
  margin: 0 16px;
}

.brand-fallback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #1e40af; /* Düz Tek Renk */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  box-shadow: none; /* Gölgesiz */
}

/* =============================================================================
   ANA İÇERİK DÜZENİ (YUKARI KONUMLANDIRMA & ESNEK AKIŞ)
   ============================================================================= */
.checkout-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 20px 96px; /* Üstten doğal boşluk, alttan sabit bar koruması */
  box-sizing: border-box;
}

.checkout-dynamic-wrapper {
  margin-top: 0;
  margin-bottom: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* =============================================================================
   1, 2, 3, 4 SEKME / STEPPER BİLEŞENİ (DÜZ RENKLER, GÖLGESİZ)
   ============================================================================= */
.stepper-container {
  margin-bottom: 28px;
  position: relative;
}

.stepper-bar-bg {
  position: absolute;
  top: 24px;
  left: 45px;
  right: 45px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
  border-radius: 4px;
}

.stepper-bar-fill {
  height: 100%;
  width: 0%;
  background: #10b981; /* Tamamlanan adımlar gibi yeşil */
  border-radius: 4px;
  transition: width 0.35s ease;
  box-shadow: none; /* Gölgesiz */
}

.stepper-steps-flex {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  width: 120px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: none; /* Gölgesiz */
  position: relative;
}

.step-title {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Step Durumları - Düz Renk & Sıfır Gölge */
.step-node.active .step-circle {
  background: #1e40af; /* Düz Tek Renk */
  border-color: #1e40af;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: none; /* Gölgesiz */
}

.step-node.active .step-title {
  color: #1e40af;
  font-weight: 700;
}

.step-node.done .step-circle {
  background: #10b981; /* Düz Tek Renk */
  border-color: #10b981;
  color: #ffffff;
  box-shadow: none; /* Gölgesiz */
}

.step-node.done .step-title {
  color: #0f172a;
}

/* =============================================================================
   KART & PANEL
   ============================================================================= */
.glass-card {
  background: var(--bg-card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header-styled {
  padding: 20px 28px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-styled.center-header {
  justify-content: center !important;
  text-align: center !important;
}

.card-title-main.center-title {
  text-align: center !important;
  width: 100% !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase;
}

.field-label-styled.center-label {
  justify-content: center !important;
  text-align: center !important;
}

.card-header-styled .header-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff; /* Düz Açık Mavi */
  color: #1e40af; /* Düz Mavi İkon */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: none; /* Gölgesiz */
}

.card-title-main {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.card-subtitle-small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.card-body-styled {
  padding: 28px;
}

/* =============================================================================
   ÜST ORTADA ÇIKAN YÜZEN BİLDİRİM / UYARI TOAST (5 SANİYE)
   ============================================================================= */
.toast-floating {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 90vw;
  width: auto;
  min-width: 320px;
  background: #b91c1c; /* Düz Tek Renk Net Kırmızı */
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: none; /* Düz, gölgesiz */
  border: 1px solid #991b1b;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: toastSlideDown 0.25s ease-out;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.toast-floating.fade-out {
  opacity: 0;
  transform: translate(-50%, -18px);
}

.toast-floating.hidden {
  display: none !important;
}

.toast-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.toast-text {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.toast-close {
  background: transparent;
  border: none;
  color: #ffffff;
  opacity: 0.8;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.toast-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

/* =============================================================================
   FORM ALANLARI VE GİRİŞLER
   ============================================================================= */
.field-block {
  margin-bottom: 20px;
}

.field-label-styled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.field-label-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-premium {
  width: 100%;
  height: 50px;
  background: var(--bg-input);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: border-color 0.2s ease;
  outline: none;
  box-shadow: none; /* Gölgesiz */
}

.input-premium:focus {
  border-color: #1e40af;
}

.input-hero-tax {
  height: 56px;
  font-size: 19px;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-mono);
}

.input-hero-amount {
  height: 60px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  color: #0f172a;
  padding-left: 70px;
  padding-right: 70px;
}

.amount-currency-tag {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: 6px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* =============================================================================
   BUTONLAR (TEK RENK, SIFIR GÖLGE, DÜZ)
   ============================================================================= */
.btn-premium {
  height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: none !important; /* KESİNLİKLE GÖLGESİZ */
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* Tek Renk Düz Mavi Buton */
.btn-primary-gradient {
  background: #1e40af !important; /* Düz Tek Renk */
  color: #ffffff !important;
  box-shadow: none !important; /* Sıfır Gölge */
}

.btn-primary-gradient:hover:not(:disabled) {
  background: #1d4ed8 !important; /* Düz Tek Renk Hover */
  box-shadow: none !important;
  transform: none !important;
}

.btn-primary-gradient:active:not(:disabled) {
  background: #1e3a8a !important; /* Düz Tek Renk Active */
  box-shadow: none !important;
  transform: none !important;
}

/* Düz Çerçeveli Buton */
.btn-secondary-outline {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: none !important; /* Sıfır Gölge */
}

.btn-secondary-outline:hover:not(:disabled) {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-block-styled {
  width: 100%;
}

.btn-premium:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

.btn-row-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

/* Hızlı Tutar Seçim Butonları (Düz & Gölgesiz) */
.btn-preset-amt {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #334155 !important;
  cursor: pointer;
  box-shadow: none !important; /* Gölgesiz */
  transition: background-color 0.15s ease, border-color 0.15s ease;
  font-family: var(--font-main);
}

.btn-preset-amt:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  box-shadow: none !important;
  transform: none !important;
}

/* =============================================================================
   İNTERAKTİF SANAL KREDİ KARTI (3D ÇİFT YÜZLÜ FLIP ANİMASYONU)
   ============================================================================= */
.virtual-card-container {
  perspective: 1000px;
  -webkit-perspective: 1000px;
  margin-bottom: 24px;
}

.virtual-credit-card {
  width: 100%;
  max-width: 400px;
  height: 220px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.virtual-credit-card.flipped {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.vcard-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #1e293b; /* Düz Kurumsal Koyu Renk */
  color: #ffffff;
  border: 1px solid #334155;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}

.vcard-front {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  z-index: 2;
}

.vcard-back {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

.vcard-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vcard-chip-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vcard-chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: #94a3b8; /* Düz Tek Renk Çip */
  position: relative;
}

.vcard-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #475569;
}

.vcard-brand-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.vcard-number {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  word-spacing: 4px;
}

.vcard-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.vcard-meta-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.vcard-meta-val {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Kart Arka Yüzü Öğeleri */
.vcard-magstripe {
  width: 100%;
  height: 42px;
  background: #090d16;
  margin-top: 22px;
}

.vcard-back-body {
  padding: 14px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vcard-signature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.vcard-signature-bar {
  flex: 1;
  height: 36px;
  background: repeating-linear-gradient(
    45deg,
    #f1f5f9,
    #f1f5f9 10px,
    #e2e8f0 10px,
    #e2e8f0 20px
  );
  border-radius: 4px;
}

.vcard-cvv-box {
  width: 65px;
  height: 36px;
  background: #ffffff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
}

.vcard-cvv-label {
  font-size: 8px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.vcard-cvv-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 2px;
  line-height: 1;
}

.vcard-back-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vcard-back-notice {
  font-size: 9px;
  line-height: 1.3;
  color: #94a3b8;
  max-width: 240px;
}

/* =============================================================================
   MÜŞTERİ / CARİ BİLGİ KARTI VE ÖZET ALANI
   ============================================================================= */
.customer-badge-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: none; /* Gölgesiz */
}

.customer-summary-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
}

.summary-col-left {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.summary-col-right {
  flex: 1;
  text-align: right;
  min-width: 0;
}

.summary-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.summary-val-customer {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  word-break: break-word;
}

.summary-val-amount {
  font-size: 20px;
  font-weight: 800;
  color: #1e40af;
  letter-spacing: -0.3px;
  line-height: 1.4;
}

.summary-divider-line {
  width: 1px;
  height: 42px;
  background: #cbd5e1;
  margin: 0 20px;
  flex-shrink: 0;
}

.customer-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.customer-avatar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff; /* Düz Açık Mavi */
  color: #1e40af; /* Düz Tek Renk İkon */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: none; /* Gölgesiz */
}

.customer-title-strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.customer-cari-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.customer-badge-right {
  text-align: right;
  flex-shrink: 0;
}

.summary-pill-amount {
  font-size: 20px;
  font-weight: 800;
  color: #1e40af; /* Düz Tek Renk */
  letter-spacing: -0.3px;
}

/* =============================================================================
   YASAL ONAY KUTULARI
   ============================================================================= */
.consent-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.consent-row:hover {
  background-color: rgba(226, 232, 240, 0.6);
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  accent-color: #1e40af;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.consent-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
}

.consent-link-styled {
  color: #1e40af;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-link-styled:hover {
  color: #1d4ed8;
}

/* =============================================================================
   GÜVEN İŞARETÇİLERİ (DÜZ İKONLAR & GÖLGESİZ)
   ============================================================================= */
.trust-footer-badges {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.trust-icon {
  font-size: 16px;
  color: #10b981; /* Düz Tek Renk */
  box-shadow: none; /* Gölgesiz */
}

/* =============================================================================
   MODAL PENCERELERİ (DÜZ & GÖLGESİZ BUTONLAR)
   ============================================================================= */
.legal-backdrop-modern {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-box-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #cbd5e1;
  width: 95%;
  max-width: 860px;
  height: 80vh;
  max-height: 720px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-header-modern {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header-modern h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.legal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.legal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.legal-body-modern {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  flex: 1;
}

.legal-body-modern h3, .legal-body-modern h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 14px;
  margin-bottom: 8px;
}

.legal-body-modern p {
  margin-bottom: 12px;
}

.legal-body-modern b, .legal-body-modern strong {
  font-weight: 700;
  color: #0f172a;
}

.legal-body-modern i, .legal-body-modern em {
  font-style: italic;
}

.legal-body-modern u {
  text-decoration: underline;
}

.legal-body-modern s, .legal-body-modern strike, .legal-body-modern del {
  text-decoration: line-through;
}

.legal-body-modern ul, .legal-body-modern ol {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-body-modern li {
  margin-bottom: 4px;
}

.legal-footer-modern {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-meta-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* =============================================================================
   DEKONT MATRİSİ (ADIM 4)
   ============================================================================= */
.receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 24px;
}

.receipt-cell {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.receipt-cell.full-width {
  grid-column: span 2;
}

.receipt-cell.highlight {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.receipt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 4px;
}

.receipt-val {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  word-break: break-all;
}

.receipt-val.amount {
  font-size: 22px;
  font-weight: 800;
  color: #1e40af; /* Düz Tek Renk */
}

.success-badge-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.success-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dcfce7; /* Düz Açık Yeşil */
  color: #16a34a; /* Düz Tek Renk İkon */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 10px;
  box-shadow: none; /* Gölgesiz */
}

.hidden {
  display: none !important;
}

/* =============================================================================
   RESPONSIVE UYUMLULUK
   ============================================================================= */
/* =============================================================================
   ALT KURUMSAL BANNER (SABİT / FIXED BOTTOM BAR - BEYAZ & ORTALI)
   ============================================================================= */
.checkout-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 68px; /* Sabit yükseklik, kesinlikle büyümez */
  background: #ffffff; /* Beyaz Sabit Zemin */
  border-top: 1px solid #e2e8f0;
  padding: 3px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 40;
  box-sizing: border-box;
}

.checkout-footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.fora-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  outline: none;
  opacity: 0.95;
  cursor: pointer;
  transform: none !important; /* Büyüme ve sıçrama tamamen engellendi */
  transition: opacity 0.15s ease;
  height: 100%;
}

.fora-banner-link:hover {
  opacity: 1;
  transform: none !important; /* Mouse üzerine gelince ASLA büyümez */
}

.fora-banner-img {
  height: 100%;
  max-height: 62px; /* Logo kendi alanında daha da büyütüldü */
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 640px) {
  .checkout-main {
    padding: 16px 12px 85px;
  }
  .checkout-dynamic-wrapper {
    margin-top: 0;
    margin-bottom: 0;
  }
  .checkout-footer {
    padding: 10px 14px;
  }
  .fora-banner-img {
    max-height: 36px;
    max-width: 220px;
  }
}

