/* Offline ödeme: deposit modal / sayfa içinde gömülü sihirbaz */
.offline-pay-embed {
  width: 100%;
  padding: 0 0 12px;
  font-family: inherit;
  color: inherit;
}

.offline-pay-embed .offline-pay-method-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--surface-border, rgba(0, 0, 0, 0.08));
  margin-bottom: 14px;
}

.offline-pay-embed .offline-pay-method-head img {
  width: 88px;
  height: 44px;
  object-fit: contain;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 4px;
}

.offline-pay-embed .offline-pay-method-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  flex: 1;
  line-height: 1.3;
}

.offline-pay-embed-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 12px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.9;
}

.offline-pay-embed-back:hover {
  opacity: 1;
}

.offline-pay-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.offline-pay-step-dot {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--surface-border, #e0e4ea);
}

.offline-pay-step-dot.is-active,
.offline-pay-step-dot.is-done {
  background: var(--primary-color, #ffbf0e);
}

.offline-pay-field {
  margin-bottom: 14px;
}

.offline-pay-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 0.85;
}

.offline-pay-field input,
.offline-pay-select {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--surface-border, #d5dae2);
  background: var(--surface-ground, #f8f9fb);
  color: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.offline-pay-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--surface-border, #d5dae2);
  background: var(--surface-ground, #f8f9fb);
  color: inherit;
  font-size: 0.95rem;
}

.offline-pay-readonly {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offline-pay-readonly input {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
}

.offline-pay-copy {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--surface-border, #d5dae2);
  background: var(--surface-card, #fff);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.offline-pay-hint {
  font-size: 0.82rem;
  opacity: 0.75;
  margin: 8px 0 0;
  line-height: 1.45;
}

.offline-pay-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.offline-pay-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.offline-pay-btn-secondary {
  background: var(--surface-ground, #eceff3);
  color: inherit;
}

.offline-pay-btn-primary {
  background: var(--primary-color, #ffbf0e);
  color: #1a1a1a;
}

.offline-pay-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.offline-pay-alert {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.offline-pay-alert.err {
  background: #fdecea;
  color: #b42318;
}

.offline-pay-alert.ok {
  background: #e8f8ef;
  color: #0d7a3e;
}

html.dark .offline-pay-embed .offline-pay-method-head img {
  background: rgba(255, 255, 255, 0.06);
}

/* Eski tam ekran modal (geri uyumluluk) */
.offline-pay-root {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.55);
  font-family: inherit;
}