/* Döviz & Altın — tam sayfa çevirici */

.doviz-page {
  max-width: 720px;
  margin: 0 auto;
}

.doviz-page-hero {
  background: linear-gradient(145deg, #0f1419 0%, #1a0a08 55%, #2a0f0a 100%);
  border-radius: var(--radius-lg, 16px);
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(230, 51, 18, 0.15);
}

.doviz-page-hero h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.doviz-page-hero p {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.doviz-market-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.65rem;
}

.doviz-market-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.doviz-prev-close {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.doviz-prev-close-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.doviz-prev-close-values {
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .doviz-market-row {
    grid-template-columns: 1fr;
  }
}

.doviz-market-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.85rem;
}

.doviz-market-card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.doviz-market-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.doviz-market-icon--usd,
.doviz-market-icon--eur {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.doviz-market-icon--gram {
  background: rgba(234, 179, 8, 0.25);
  color: #fde047;
}

.doviz-market-card strong {
  font-size: 0.9rem;
}

.doviz-market-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.doviz-market-line b {
  color: #fff;
  font-weight: 600;
}

.doviz-converter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.15rem;
}

.doviz-field-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.doviz-amount-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  padding: 0;
  margin-bottom: 0.65rem;
  outline: none;
}

.doviz-amount-output {
  display: block;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
  min-height: 2.4rem;
}

.doviz-amount-output--tl { color: #fff; }
.doviz-amount-output--gram { color: #facc15; }
.doviz-amount-output--usd,
.doviz-amount-output--eur { color: #4ade80; }

.doviz-units {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.doviz-unit-btn {
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.doviz-unit-btn.is-active.doviz-unit-btn--tl {
  border-color: #22c55e;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
}

.doviz-unit-btn.is-active.doviz-unit-btn--usd,
.doviz-unit-btn.is-active.doviz-unit-btn--eur {
  border-color: #3b82f6;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
}

.doviz-unit-btn.is-active.doviz-unit-btn--gram {
  border-color: #eab308;
  color: #fde047;
  background: rgba(234, 179, 8, 0.12);
}

.doviz-swap-wrap {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0.75rem;
}

.doviz-swap-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.doviz-swap-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.doviz-rate-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.75rem 0 0;
}

.doviz-refresh-btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem;
  border: none;
  border-radius: 12px;
  background: var(--brand, #e63312);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.doviz-refresh-btn:hover {
  background: var(--brand-dark, #b82a0f);
}

.doviz-refresh-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.doviz-meta {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.75rem;
}

.doviz-loading {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.doviz-error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}
