/* Sin dependencias externas. Cajas como antes (85% / max 420px); texto afinado para legibilidad en ~555×492px */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
  background: white;
  color: #26507a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.roboto-black {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
}

.dolar-price-bg {
  min-height: 100%;
  min-height: 100vh;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 555px;
  margin: 0 auto;
  padding: 4px 0;
}

.dolar-price-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* Tamaño base grande: antes las cajas usaban 0.55em y achicaban todo */
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  text-align: center;
  color: #26507a;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  margin: 0 auto;
  padding: 0.35rem 0;
}

.block-heading {
  color: #26507a;
  font-size: 0.95em;
  font-weight: 900;
  margin: 0 0 0.35em;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.block-line {
  font-size: 0.88em;
  font-weight: 900;
  margin: 0.25em 0;
  line-height: 1.3;
  color: #26507a;
}

.block-line .lbl {
  color: #3178bf;
  margin-right: 0.25rem;
}

.block-valor {
  font-size: 0.95em;
  margin-top: 0.35em;
}

.valor-num {
  color: #26507a;
  font-size: 1.4em;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nodata-inline {
  opacity: 0.6;
}

.dolar-price-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.col-12 {
  width: 100%;
  max-width: 100%;
}

/* Cajas: mismo ancho; 1em = hereda el tamaño del contenedor (antes 0.55em lo reducía muchísimo) */
.dolar-price-content .compra-venta-block {
  color: #26507a;
  border: 1px solid #26507a;
  border-radius: 10px;
  padding: 10px 12px 12px;
  width: 85%;
  max-width: 420px;
  margin: 10px auto;
  font-size: 1em;
  line-height: 1.3;
}

.fallback-note {
  font-size: clamp(0.7rem, 2.4vw, 0.82rem);
  font-weight: 600;
  color: #ffd966;
  margin: 0.5em 0 0;
  line-height: 1.35;
}

.block-meta {
  font-size: clamp(0.72rem, 2.5vw, 0.88rem);
  font-weight: 500;
  color: #c8c8c8;
  margin-top: 0.5em;
  line-height: 1.4;
  word-wrap: break-word;
}

@media screen and (max-width: 575px) {
  .dolar-price-content {
    font-size: clamp(1.45rem, 5vw, 2rem);
  }
}

@media screen and (max-width: 400px) {
  .dolar-price-content {
    font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  }
}

@media screen and (max-width: 300px) {
  .dolar-price-content {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
  }
}
