.czec-formulario {
  min-width: 300px;
  width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0.5rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.czec-titulo-formulario {
  font-size: 1rem;
  font-weight: 400;
  color: #E7B46F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.czec-formulario label {
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  display: block;
  color: #23282F;
  margin-top: 1rem;
}

.czec-formulario input {
  width: 100%;
  height: 30px !important; /* Forzar altura pequeña */
  line-height: 30px !important;
  padding: 0 0.75rem !important; /* quitar padding vertical */
  font-size: 1rem;
  border: 1px solid #dddddd !important;
  border-radius: 0.4rem;
  font-family: 'Source Sans 3', sans-serif;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}


.czec-formulario select {
  width: 100%;
  padding: 0.2rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #dddddd !important;
  border-radius: 0.4rem;
  font-family: 'Source Sans 3', sans-serif;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
  appearance: auto;
}

.czec-formulario input:hover,
.czec-formulario select:hover,
.czec-formulario input:active,
.czec-formulario select:active {
  border-color: #dddddd !important;
}

.czec-formulario input:focus,
.czec-formulario select:focus {
  border-color: #E7B46F !important;
  outline: none !important;
}

/* Botón */
.czec-formulario button {
  background-color: #E7B46F;
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #E7B46F;
  border-radius: 0.4rem;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.czec-formulario button:hover {
  background-color: #d8a95a;
}

.czec-formulario button.czec-calcular:focus,
.czec-formulario button.czec-calcular:active {
  background-color: #ffffff !important;
  color: #E7B46F !important;
  border-color: #E7B46F !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Resultado */
.czec-resultado {
  background-color: #f7f7f7;
  border: none;
  border-radius: 0.4rem;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  display: none;
  animation: expand 0.6s ease forwards;
  font-family: 'Source Sans 3', sans-serif;
  color: #23282F;
}

.czec-resultado h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.czec-resultado-contenido {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mensajes de error */
.czec-error-msg {
  display: none;
  color: red;
  font-size: 0.85rem;
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  margin-top: 0.25rem;
  animation: fadein 0.5s ease;
}

/* Animaciones */
@keyframes expand {
  0% { opacity: 0; transform: scaleY(0.6); }
  100% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}