/* ======================
   Estilos Generales / General Styles
====================== */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f0f4f8;
  padding: 2rem;
}

/* ======================
   Contenedor Principal / Main Container
====================== */

.converter {
  background-image: linear-gradient(135deg, #c2f0ff, #80c7ff);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #1a1a1a;
}

/* ======================
   Inputs y Selects / Inputs and Select Boxes
====================== */
select,
input[type="file"],
#fileInput {
  margin: 1rem 0;
  display: block;
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #181818;
  border-radius: 6px;
  background-color: #d1eaee;
  font-size: 1rem;
}

/* ======================
   Botones / Buttons
====================== */
button {
  padding: 0.6rem 1.2rem;
  background: #00bcd4;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #009cb3;
}

button:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ======================
   Botón de Intercambio / Swap Button
====================== */
#swap {
  margin: 1rem;
  background: transparent;
  color: #00bcd4;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

#swap:hover {
  color: #009cb3;
}

/* ======================
   Mensajes / Message Box
====================== */
#message {
  color: #d9534f;
  font-weight: bold;
  margin-top: 1rem;
}

/* ======================
   Footer / Pie de página
====================== */
footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
}

footer strong {
  color: #333;
}

footer a {
  display: block;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  background: #e6f7ff;
  color: #007a99;
  transition: background 0.3s ease, color 0.3s ease;
}

footer a:hover {
  background: #cceeff;
  color: #005c73;
}
