
.background{
  background-color: #f8f9fb;
}

h1,
h2 {
  margin-bottom: 1.5rem;
}
fieldset {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background-color: #fff;
}
legend {
  width: auto;
  padding: 0 0.5rem;
  font-weight: bold;
}

.like-disabled {
  background-color: #e9ecef;
  color: #6c757d;
  font-weight: bold;
  cursor: not-allowed;
}

input[list] {
  padding-right: 2rem;
}

.campo-calculo {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 200px; /* ajuste conforme o campo */
}

.campo-calculo input {
  width: 100%;
  font-size: 1rem;
  padding: 0.6em 2.2em 0.6em 0.8em; /* espaço à direita pro ícone */
  border: 1px solid #ccc;
  border-radius: 0.4em;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.campo-calculo input:focus {
  outline: none;
  border-color: #007bff;
}

#recalcularAEIndexado,
#recalcularADIndexado {
  position: absolute;
  top: 70%;
  right: 10px;
  transform: translateY(-50%);
  color: #6c757d;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.5em;
  user-select: none;
  transition: color 0.2s ease, transform 0.1s ease;
}

#recalcularAEIndexado:hover,
#recalcularADIndexado:hover {
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

@keyframes girar {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.girando {
  animation: girar 0.5s linear;
}

/* ====== BASE ====== */
body {
  background-color: #f5f7fa;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ====== HEADER ====== */
header {
  background: #ffffff;
}

header h1 {
  font-weight: 600;
}

header h2 {
  font-size: 0.9rem;
}

/* ====== ÁREA PRINCIPAL ====== */
main.container {
  max-width: 1200px;
}

/* ====== SEO / INSTITUCIONAL ====== */
section.mb-4 {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* ====== FORM ====== */
form {
  margin-top: 2rem;
}

/* ====== FIELDSET COMO CARD ====== */
fieldset {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* ====== LEGEND ESTILIZADA ====== */
legend {
  float: none;
  width: auto;
  padding: 0 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0d6efd;
}

/* ====== LABELS ====== */
label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ====== INPUTS ====== */
.form-control,
.form-select {
  border-radius: 8px;
}

/* ====== BOTÃO PRINCIPAL ====== */
#btnGerarLaudo {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ====== FOOTER ====== */
footer {
  background: #ffffff;
}

section.mb-4 p {
  max-width: 720px;
}

