/* calculator.css - estilo simple y limpio */
.taus-calc {
  max-width: 720px;
  margin: 20px auto;
  color: var(--c-gris-oscuro);
  font-family: var(--fuente-principal);
}
.taus-calc-card {
  border-radius: 15px;
  background: var(--c-blanco);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #7A7A7A8F;
  box-shadow: 10px 10px 0px 0px rgba(48.99999999999999, 162, 152.99999999999994, 0.19);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  margin: 20px 20px 20px 20px;
  --e-column-margin-right: 20px;
  --e-column-margin-left: 20px;
  padding: 20px 20px 20px 20px;
}
.taus-calc h3 {
  margin-top: 0;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.2em;
  color: var(--c-secundario);
}

.taus-calc h4 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.taus-calc h5 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.taus-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.taus-small{
  font-size: 0.7rem;
}
.taus-row label {
  width: 110px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-gris-oscuro);
}
.taus-row input[type="number"],
.taus-row select {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.75rem;
}
.taus-help {
  font-size: 0.85rem;
  color: #666;
  margin-left: 8px;
}
.result {
  margin-top: 14px;
}
.result #taus-result {
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  background-color: var(--c-gris-claro);
  color: var(--c-gris-oscuro);
  width: 100%;
}
.result span {
  font-weight: 400;
}
.taus-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.taus-btn {
  color: var(--c-texto);
  background-color: transparent;
  display: block;
  padding: 10px 30px;
  border: 1px solid var(--c-gris-claro);
  border-top: 2px solid var(--c-primario);
  border-bottom: 2px solid var(--c-primario);
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s ease-in-out;
  font-family: var(--fuente-principal);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3em;
  letter-spacing: 0.35px;
  position: relative;
}
.taus-btn::before,
.taus-btn::after {
  position: absolute;
  height: 0;
  width: 2px;
  background: var(--c-primario);
  content: '';
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.taus-btn::before {
  top: 0;
  left: -1px;
}
.taus-btn::after {
  right: -1px;
  bottom: 0;
}
.taus-btn:hover,
.taus-btn:focus {
  background-color: var(--c-primario);
  color: var(--c-blanco);
}
.taus-btn:hover::before,
.taus-btn:hover::after {
  height: 100%;
  background-color: var(--c-secundario);
}
.taus-btn.secondary {
  background: #6c757d;
}
.taus-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: var(--fuente-principal);
  font-size: 0.85rem;
}

.taus-modal hr {
    margin-bottom: 10px!important;
    margin-top: 10px!important;
}

.taus-modal h2 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.taus-modal h3 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.taus-modal h4 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.taus-modal-inner {
    background: var(--c-blanco);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
        overflow-y: scroll;
        overflow-x: hidden;
    padding: 18px;
    border-radius: 8px;
    position: relative;
    margin: auto;
    margin-top: 50px;
}
.taus-modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: var(--c-secundario);
  border: 0;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}
.taus-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.taus-table th,
.taus-table td {
  border: 1px solid #eee;
  padding: 8px;
  font-size: 0.95rem;
  text-align: left;
}
.taus-feedback {
  margin-top: 10px;
  color: #c33;
  font-weight: 600;
}
.taus-pdf-header img {
  display: block;
  margin-bottom: 10px;
  max-height: 70px;
}

.taus-doc-section { margin: 20px 0; padding: 15px; border: 1px solid #ddd; border-radius: 5px; }
.taus-doc-select { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.taus-doc-list { margin-top: 15px; padding: 15px; background: #74d8c861; border-radius: 4px; border: 1px solid var(--c-primario);}
.taus-doc-list-no { margin-top: 15px; padding: 15px; background: #f0f0f0; border-radius: 4px; margin-bottom: 15px; border: 1px solid var(--c-gris);}
.taus-doc-list ul, .taus-doc-list-no ul { margin: 10px 0 10px 0; padding-left: 20px; }

.pdf-no-export {
    display: none !important;
}

@media (max-width: 600px) {
  .taus-row {
    flex-direction: column;
    align-items: stretch;
  }
  .taus-row label {
    width: auto;
  }

  .taus-table {
        display: block;
    overflow: scroll;
  }
}
