/* ================================
   SECTION RESET
================================ */

#USDExchangeRate {
  margin: 0 !important;
  padding: 0 !important;
}

/* ================================
   CONTENEDOR VISUAL
================================ */

.usd-container {
  background-image: url('../../resources/images/bg/bg-usd-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.7);
  background-blend-mode: lighten;

  border-radius: 25px;

  padding: 8px 16px 12px 16px;
}

/* ================================
   HEADER SUPERIOR
================================ */

.usd-header {
  margin-bottom: 10px;
}

.usd-header h2 {
  margin: 0 0 4px 0;
  font-weight: 600;
}

.usd-header p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ================================
   BLOQUES
================================ */

.exchange-block {
  background-color: rgba(255,255,255,0.75);
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform .2s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.exchange-block:hover {
  transform: translateY(-3px);
}

.exchange-block h3 {
  margin: 0;
  font-size: clamp(1rem,1.6vw,1.25rem);
  font-weight: 600;
}

/* ================================
   SEPARADOR
================================ */

.exchange-separator {
  width: 55%;
  margin: 8px auto 12px auto;
  border: none;
  border-top: 2px solid #1f5186;
  opacity: .35;
}

/* ================================
   VALORES
================================ */

.exchange-values {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exchange-values p {
  margin: 6px 0;
  font-size: clamp(.95rem,1.4vw,1.15rem);
}

.exchange-values strong {
  color: #1f5186;
}

/* ================================
   GRÁFICO
================================ */

#graficoTendencia {
  width: 100% !important;
  background: rgba(255,255,255,.75);
  border-radius: 12px;
  padding: 8px;
}

/* ================================
   COLORES
================================ */

.bg-blue   { background-color: rgba(30, 90,150,.18); }
.bg-green  { background-color: rgba(40,150, 90,.18); }
.bg-orange { background-color: rgba(240,150,50,.18); }
.bg-purple { background-color: rgba(120, 80,190,.18); }

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 576px) {
  .usd-container { padding: 6px 10px; }
  #graficoTendencia { height: 140px !important; }
}
