:root {
  --sol-yellow:#FFD200;
  --sol-blue:#0E2A5C;
  --sol-light:#eef2f6;


}

body {
  margin:0;
  font-family:Arial, sans-serif;
  background:var(--sol-light);
}

/* ============================= */
/* SECÇÃO */
/* ============================= */

.simulador {
  max-width:1100px;
  margin:auto;
  padding:30px 20px;
}

/* TÍTULO ESTILO DESTAQUES */

h1 {
  text-align:left;
  color:#111;
  margin-bottom:25px;
  font-size:28px;
  font-weight:700;
  position:relative;
}

h1::after {
  content:"";
  display:block;
  width:40px;
  height:3px;
  background:var(--sol-yellow);
  margin-top:8px;
  border-radius:2px;
}

/* ============================= */
/* GRID */
/* ============================= */

.simulador-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

@media(max-width:992px){
  .simulador-grid{grid-template-columns:1fr;}
}

/* ============================= */
/* TIPOS DE CRÉDITO */
/* ============================= */

.credit-types {
  display:flex;
  gap:8px;
  margin-bottom:18px;
}

.credit-types button {
  flex:1;
  padding:8px;
  border:2px solid var(--sol-blue);
  background:white;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  border-radius:6px;
  transition:0.2s;
}

.credit-types button:hover {
  background:#eef3fa;
}

.credit-types button.active {
  background:var(--sol-yellow);
  border-color:var(--sol-yellow);
}

/* ============================= */
/* SLIDERS */
/* ============================= */

label {
  font-size:14px;
  font-weight:600;
}

input[type=range] {
  width:100%;
  margin:10px 0 15px 0;
}

/* ============================= */
/* OPÇÕES */
/* ============================= */

.options {
  margin-bottom:15px;
  font-size:14px;
}

.options input,
.options select {
  margin-top:5px;
}

/* ============================= */
/* RESULTADO CORPORATIVO */
/* ============================= */

.resultado-area {
  background:#fff;
  color:#111;
  padding:25px;
  border-radius:14px;
  text-align:center;
  border:1px solid #e6e6e6;
}

.resultado-area h2 {
  font-size:26px;
  margin:10px 0;
  color:var(--sol-blue);
  font-weight:700;
}

.resultado-area p {
  font-size:14px;
  margin:4px 0;
  color:#666;
}

.resultado-area button {
  margin-top:15px;
  padding:8px 18px;
  background:var(--sol-yellow);
  border:none;
  cursor:pointer;
  font-weight:600;
  border-radius:6px;
  transition:0.2s;
}

.resultado-area button:hover {
  opacity:0.9;
}

/* ============================= */
/* BOTÃO VER TABELA */
/* ============================= */

.toggle-tabela {
  margin-top:25px;
  text-align:center;
}

#toggleTabela {
  background:#fff;
  border:1px solid var(--sol-blue);
  color:var(--sol-blue);
  padding:8px 18px;
  border-radius:6px;
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  transition:0.2s;
}

#toggleTabela:hover {
  background:var(--sol-yellow);
  border-color:var(--sol-yellow);
  color:black;
}

/* ============================= */
/* TABELA */
/* ============================= */

.tabela-wrapper {
  display:none;
  margin-top:20px;
}

.tabela-container {
  overflow-x:auto;
  background:white;
  padding:15px;
  border-radius:10px;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

h3 {
  margin-bottom:10px;
  font-size:18px;
  color:var(--sol-blue);
}

table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

th {
  background:#eef3fa;
  padding:8px;
  font-weight:600;
}

td {
  padding:6px;
  border-bottom:1px solid #eee;
}

tr:hover {
  background:#fafafa;
}

.simulador {
  max-width:1100px;
  margin:auto;
  padding:40px 25px;
  background:#eef2f6;
  border-radius:12px;
}
