/* ========================================
   Tema Visual Limpo — Azul Institucional
   ======================================== */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f9ff;
  color: #16324b;
  margin: 0;
  padding: 0;
}

.fvc-wrapper {
  max-width: 980px;
  margin: 28px auto;
  padding: 8px;
}

/* === Cards === */
.fvc-card {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(9, 30, 63, 0.06);
  overflow: hidden;
}

.fvc-card h2 {
  margin: 0;
  padding: 12px 16px;
  background: #0b5fa8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* === Grids === */
.fvc-grid,
.fvc-grid-2,
.fvc-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
}

.fvc-grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px;
  margin: 2px 0 2px 10px;
}

/* === Labels e Campos === */
label {
  font-weight: 600;
  color: #083144;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

input[type="text"],
input[type="date"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #b3d7ff;
  border-radius: 8px;
  background: #f8fbff;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 48px;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Estilização customizada de <select> */
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

input:focus,
select:focus {
  outline: none;
  border-color: #0b5fa8;
  box-shadow: 0 0 0 3px rgba(11, 95, 168, 0.2);
}

/* === Checkbox Customizado === */
.fvc-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 6px 30px;
}

/* === Botões === */
.fvc-actions {
    text-align: center;
    margin: 2rem 0; /* opcional: espaçamento acima e abaixo */
    border: 1px solid red; /* Só para teste visual — remova depois */
}

.fvc-btn {
  background: #0b5fa8;
  color: #fff;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin: 6px 0 6px 30px;
}

/* === Indicadores de Obrigatório === */
.required-label::after,
.fvc-label::after {
  content: "*";
  color: #d00;
  margin-left: 2px;
}

/* === Label Especial (Autorização) === */
.fvc-label {
  margin-left: 30px;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  background: #f2f9ff;
}

/* === Responsividade === */
@media (max-width: 760px) {
  .fvc-grid,
  .fvc-grid-2,
  .fvc-grid-3 {
    grid-template-columns: 1fr;
  }
}