/* ===== CALCULADORA INMOBILIARIA - Mismos estilos que Buscador Propiedades ===== */
.calc-inmob-wrapper,
.calc-inmob-wrapper * {
  font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, sans-serif !important;
  box-sizing: border-box !important;
}

.calc-inmob-wrapper {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

/* Pestañas */
.calc-inmob-pestanas-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}

.calc-inmob-pestana {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  background: #f8f8f8;
  color: #666;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.calc-inmob-pestana:hover {
  background: #eee;
  border-color: #ccc;
}

.calc-inmob-pestana.active {
  background: #f71701;
  color: #fff;
  border-color: #f71701;
}

/* Contenido */
.calc-inmob-panel {
  display: none;
}

.calc-inmob-panel.active {
  display: block;
}

.calc-inmob-titulo {
  font-size: 18px;
  margin: 0 0 8px;
  color: #222;
  font-weight: 700;
}

.calc-inmob-desc {
  font-size: 13px;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* Formulario */
.calc-inmob-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.calc-inmob-filtro {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
}

.calc-inmob-filtro label {
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
}

.calc-inmob-filtro input {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
  height: 44px;
  font-family: 'Roboto Condensed', sans-serif !important;
  color: #333;
}

.calc-inmob-filtro input:focus {
  outline: none;
  border-color: #f71701;
}

/* Botón */
.calc-inmob-boton {
  background-color: #f71701 !important;
  background: #f71701 !important;
  color: #fff !important;
  border: 2px solid #f71701 !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  height: 44px !important;
  transition: all 0.3s ease !important;
}

.calc-inmob-boton:hover {
  background-color: #d91401 !important;
  background: #d91401 !important;
  border-color: #d91401 !important;
  box-shadow: 0 2px 8px rgba(247, 23, 1, 0.4) !important;
}

/* Resultados */
.calc-inmob-resultado {
  margin-top: 16px;
  min-height: 40px;
}

.calc-inmob-resultado-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 16px;
  border-left: 4px solid #f71701;
}

.calc-inmob-valor {
  font-size: 18px;
  margin: 0 0 8px;
  color: #222;
}

.calc-inmob-valor strong {
  color: #f71701;
}

.calc-inmob-detalle {
  font-size: 13px;
  color: #555;
  margin: 4px 0;
}

.calc-inmob-ok {
  margin-top: 12px;
  padding: 8px 12px;
  background: #e8f5e9;
  border-radius: 4px;
  color: #2e7d32;
  font-weight: 700;
}

.calc-inmob-regular {
  margin-top: 12px;
  padding: 8px 12px;
  background: #fff3e0;
  border-radius: 4px;
  color: #e65100;
  font-weight: 700;
}

.calc-inmob-alerta {
  margin-top: 12px;
  padding: 8px 12px;
  background: #ffebee;
  border-radius: 4px;
  color: #c62828;
  font-weight: 700;
}

.calc-inmob-error {
  color: #c62828;
  font-weight: 700;
}

@media (max-width: 480px) {
  .calc-inmob-pestanas-nav {
    flex-direction: column;
  }
  .calc-inmob-form {
    flex-direction: column;
  }
  .calc-inmob-filtro {
    min-width: 100%;
  }
}
