/* ====== CALCULADORA BASE ====== */
.calculadora {
  background: #E2ECE3;
  border-radius: 36px;
  padding: 30px;
  margin: auto;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #052E34;
  display: flex;
  flex-direction: column;
  align-items: center;
}
p[empty] {
  display: none;
}
/* ====== TITULO ====== */
.calculadora .calc-titulo h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  line-height: 135%;
  margin-bottom: 40px;
}

/* ====== BLOQUES (recibir/enviar) ====== */
.calculadora .calc-bloque {
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.calculadora .calc-label {
  font-size: 26px;
  font-weight: 400;
  line-height: 135%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.calculadora .calc-label strong {
  font-weight: 700;
}

.calculadora .calc-label img {
  width: 32px;
  height: auto;
  vertical-align: middle;
}

/* ====== INPUT NUMEROS ====== */
.calculadora .calc-input {
  margin-top: 10px;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  border: none;
  outline: none;
  background: transparent;
  color: #052E34;
  width: 100%;
  max-width: 240px;
}
.calculadora input[type=number]::-webkit-inner-spin-button,
.calculadora input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calculadora input[type=number] {
  -moz-appearance: textfield;
}

/* ====== FLECHA ====== */
.calculadora .calc-flecha {
  margin: 25px 0;
  
}
.calculadora .calc-flecha img {
  width: 28px;
  height: auto;
  transform: rotate(90deg);
}

/* ====== TIPO DE CAMBIO ====== */
.calculadora .calc-cotiz {
  text-align: center;
  margin: 25px 0;
}

.calculadora .calc-tipo-cambio {
  font-size: 18px;
  color: #052E34;
}

/* ====== BOTÓN ====== */
.calculadora .calc-boton a {
  display: inline-block;
  background: #BDEA39;
  color: #052E34;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.calculadora .calc-boton a:hover {
  background: #A9D92F;
}

/* ====== ESTADO INACTIVO ====== */

.calculadora.inactiva .calc-boton a {
  background: transparent;
  color: #052E34;
  pointer-events: none;
  border: #052E34 2px solid;
  cursor: not-allowed;
}