/* online-odeme.css — Online ödeme formu */
.oo-page {
  font-family: 'Inter', system-ui, sans-serif;
  background: #f1f5f9;
  padding: 24px 16px 48px;
  color: #0f172a;
}
.oo-page--embed { padding: 0 0 24px; background: transparent; }
.oo-container { max-width: 1180px; margin: 0 auto; }
.oo-title {
  margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em;
}
.oo-sub { margin: 0 0 18px; color: #64748b; font-size: 0.9rem; }
.oo-alert {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: 0.88rem;
}
.oo-alert--info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.oo-alert--warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.oo-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.oo-alert--ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.oo-layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: start;
}
@media (max-width: 980px) { .oo-layout { grid-template-columns: 1fr; } }

.oo-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04); overflow: hidden;
}
.oo-card__head {
  padding: 12px 16px; background: linear-gradient(90deg, #facc15, #38bdf8);
  font-weight: 800; font-size: 0.85rem; color: #0f172a;
}
.oo-card__body { padding: 16px; }

.oo-field { margin-bottom: 12px; }
.oo-field > span {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: #64748b; margin-bottom: 5px;
}
.oo-field input, .oo-field textarea, .oo-field select {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px;
  font-size: 0.9rem; font-family: inherit; color: #0f172a; background: #fff;
}
.oo-field input:focus, .oo-field textarea:focus, .oo-field select:focus {
  outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.oo-field input[readonly] { background: #f8fafc; color: #334155; }
.oo-hint { font-size: 0.75rem; color: #64748b; margin-top: 4px; }
.oo-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oo-row3 { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 10px; }
@media (max-width: 640px) {
  .oo-row2, .oo-row3 { grid-template-columns: 1fr; }
}

.oo-calc {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 12px; margin: 12px 0;
}
.oo-calc__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 6px 0; font-size: 0.86rem; border-bottom: 1px dashed #e2e8f0;
}
.oo-calc__row:last-child { border-bottom: none; }
.oo-calc__row strong { font-family: Consolas, monospace; }
.oo-calc__green { color: #16a34a; font-weight: 800; }
.oo-calc__red { color: #dc2626; font-weight: 800; }
.oo-radio {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.oo-radio label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600;
  cursor: pointer;
}

.oo-info-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.oo-info-table th, .oo-info-table td {
  border: 1px solid #e2e8f0; padding: 8px 10px; font-size: 0.84rem; text-align: left;
}
.oo-info-table th {
  width: 34%; background: #f1f5f9; font-weight: 700; color: #475569; font-size: 0.75rem;
}
.oo-info-table td input {
  width: 100%; border: none; background: transparent; padding: 0; font-size: 0.88rem;
  font-family: inherit; color: #0f172a;
}
.oo-info-table td input:focus { outline: none; }
.oo-req { color: #dc2626; }

.oo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 16px; border: none; border-radius: 10px;
  background: #0284c7; color: #fff; font-weight: 800; font-size: 1rem;
  cursor: pointer; margin-top: 8px;
}
.oo-btn:hover { background: #0369a1; }
.oo-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.oo-pick-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px;
}
@media (max-width: 640px) { .oo-pick-row { grid-template-columns: 1fr; } }
.oo-field--sm { margin-bottom: 0; }
.oo-field--sm > span { font-size: 0.65rem; }
.oo-select-sm, .oo-field--sm select {
  padding: 7px 10px !important; font-size: 0.8rem !important; border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important; background: #fff !important;
  font-weight: 700 !important; color: #0f172a !important;
}
.oo-select--active, .oo-field--sm select.oo-select--active {
  border-color: #38bdf8 !important;
  background: #e0f2fe !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}
.oo-pick-hint { margin: 0 0 12px; font-size: 0.72rem; color: #64748b; }

.oo-tekcekim-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  margin-bottom: 8px; padding: 8px 10px; border-radius: 8px;
  border: 1.5px solid #86efac; background: linear-gradient(90deg, #ecfdf5, #d1fae5);
  color: #166534; font-size: 0.78rem; font-weight: 800; cursor: pointer;
  font-family: inherit; transition: 0.15s;
}
.oo-tekcekim-btn em {
  margin-left: auto; font-style: normal; background: #fff;
  padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; color: #15803d;
}
.oo-tekcekim-btn:hover { filter: brightness(0.98); }
.oo-tekcekim-btn.is-pick {
  border-color: #38bdf8;
  background: linear-gradient(90deg, #e0f2fe, #bae6fd);
  color: #075985;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28);
}
.oo-tekcekim-btn.is-pick em { color: #0369a1; }

.oo-taksit {
  width: 100%; border-collapse: collapse; font-size: 0.68rem; min-width: 0;
}
.oo-taksit--compact th, .oo-taksit--compact td {
  border: 1px solid #cbd5e1; padding: 2px; text-align: center; white-space: nowrap;
}
.oo-taksit--compact th {
  background: linear-gradient(90deg, #fde047, #38bdf8);
  font-weight: 800; color: #0f172a; font-size: 0.65rem; padding: 5px 4px;
}
.oo-taksit--compact th:first-child,
.oo-taksit--compact td:first-child { text-align: left; font-weight: 700; padding-left: 6px; }
.oo-taksit__name {
  background: #e0f2fe !important; color: #0c4a6e; font-size: 0.68rem;
  max-width: 110px; overflow: hidden; text-overflow: ellipsis;
}
.oo-taksit--compact tbody tr:nth-child(odd) td:not(.oo-taksit__name):not(.is-pick) { background: #fff; }
.oo-taksit--compact tbody tr:nth-child(even) td:not(.oo-taksit__name):not(.is-pick) { background: #f0f9ff; }
.oo-taksit--compact tbody tr.is-on td.oo-taksit__name { background: #7dd3fc !important; color: #0c4a6e; }
.oo-taksit--compact td.is-pick {
  background: #bae6fd !important;
  box-shadow: inset 0 0 0 2px #0ea5e9;
}
.oo-rate {
  border: none; background: transparent; cursor: pointer; font: inherit; color: #0f172a;
  width: 100%; min-width: 44px; padding: 4px 2px; border-radius: 4px; font-weight: 700;
  font-size: 0.66rem;
}
.oo-rate:hover { background: rgba(14,165,233,0.18); color: #0369a1; }
.oo-rate.is-pick {
  background: #0ea5e9; color: #fff;
}
.oo-notes {
  margin-top: 12px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px;
  padding: 12px 14px; font-size: 0.78rem; color: #1e3a8a; white-space: pre-line; line-height: 1.45;
}

.oo-bank {
  margin-top: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
}
.oo-bank__head {
  padding: 12px 16px; font-weight: 800; background: #0f172a; color: #fff; font-size: 0.9rem;
}
.oo-bank table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.oo-bank th, .oo-bank td {
  padding: 10px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: middle;
}
.oo-bank th { background: #f8fafc; font-size: 0.7rem; text-transform: uppercase; color: #64748b; }
.oo-bank .iban { font-family: Consolas, monospace; font-weight: 700; letter-spacing: 0.02em; }
.oo-copy-wrap {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%;
}
.oo-copy-text { word-break: break-word; }
.oo-copy-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 6px; border: 1px solid #cbd5e1;
  background: #f8fafc; color: #0284c7; font-size: 0.72rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.oo-copy-btn:hover { background: #e0f2fe; border-color: #7dd3fc; }
.oo-copy-btn.is-ok {
  background: #dcfce7; border-color: #86efac; color: #166534;
}
.oo-bank-logo {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #0f172a;
}
.oo-bank-logo span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; background: #ecfdf5; color: #059669;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .oo-bank table, .oo-bank thead, .oo-bank tbody, .oo-bank th, .oo-bank td, .oo-bank tr { display: block; }
  .oo-bank thead { display: none; }
  .oo-bank td { border-bottom: none; padding: 4px 12px; }
  .oo-bank tr { padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
}
