﻿/* === SecciÃƒÂ³n de tasas de cambio === */
.exchange-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: #f8f9fa;
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
  border: 1px solid rgba(0, 255, 0, 0.3);
  position: relative;
}

.exchange-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  border-radius: 20px;
  pointer-events: none;
}

.exchange-section h2 {
  font-weight: 700;
  color: #00ff00;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.exchange-section .last-update {
  font-size: 0.9rem;
  color: #00ff00;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tasa-row {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 15px;
  margin-bottom: 1rem;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.tasa-row:hover {
  background: rgba(0, 255, 0, 0.05);
  border-color: #00ff00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.2);
}

.tasa-row img {
  width: 26px;
  height: 18px;
  margin-right: 10px;
}

.tasa-row .left {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.tasa-row .right {
  font-weight: 700;
  color: #00ff00;
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}


/* === Conversor === */
.card.mt-4 {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: #f8f9fa;
  border: 1px solid rgba(0, 255, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.card h5 {
  color: #00ff00;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.card .form-label {
  font-weight: 600;
  color: #00ff00;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.card .form-control,
.card .form-select {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.card .form-control:focus,
.card .form-select:focus {
  border-color: #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.9);
}

.card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#conversionResult {
  transition: all 0.3s ease-in-out;
}

/* Responsive fix */
@media (max-width: 768px) {
  .tasa-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tasa-row .right {
    font-size: 1rem;
  }
}
