body {
    background: linear-gradient(180deg, #c2d4e9 0%, #dbe7f5 100%);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    background-attachment: fixed;
}

.termo {
    background: linear-gradient(135deg, #f8f9fb, #f1f5fa);
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 5px solid #e1a32f;
}

.termo h4 {
    color: #e1a32f;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.importante {
    background: linear-gradient(135deg, #fffae6, #fff4cc);
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 5px solid #f0ad4e;
}

.importante h4 {
    font-weight: 700;
    color: #a76b00;
    display: flex;
    align-items: center;
    gap: 6px;
}

.importante p {
    font-size: 14px;
    color: #5c4a1d;
}

.header-image{width: 90%;display: block;margin: 0 auto;}
.header-text{text-align: center;margin-top: 20px;margin-bottom: 15px;}
.header-text .text1{color: #0b4e92; font-size: 20px;}
.header-text .text2{color: #0b4e92; font-weight: normal;}


.form-content {
    background: #ffffff;
    padding: 30px 35px 50px !important;
    border-radius: 16px;
    margin-top: 25px;
    margin-bottom: 40px;
    box-shadow: 0 12px 30px rgba(11, 78, 146, 0.12);
    border: 1px solid #e3edf9;
}

form h4 {
    font-size: 17px;
    font-weight: 800;
    color: #0b4e92;
    padding-left: 12px;
    border-left: 4px solid #a1bcfe;
    margin-top: 30px;
    margin-bottom: 18px;
}

.form-wrapper {max-width: 700px;margin: 50px auto;background-color: #ffffff;padding: 40px;border-radius: 16px;box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);}
h1 {font-weight: 700;font-size: 28px;margin-bottom: 10px;}
p.subtext {color: #6c757d;margin-bottom: 15px;}
.form-control,
.form-select {border-radius: 8px;border: 1px solid #e9e9e9;padding: 8px 16px;font-size: 15px;box-shadow: none;transition: border-color 0.2s ease;}
.form-control:focus,
.form-select:focus {border-color: #a1bcfe;box-shadow: 0 0 0 0.15rem rgb(39 85 228 / 25%);}
textarea.form-control {min-height: 150px;resize: none;}
.form-check-input {border-radius: 10px;}
.form-check {
   
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.form-check:hover {
    background-color: #f4f7fb;
}

.form-check-label {
    cursor: pointer;
}

.btn-primary {background-color: #1964af;border: none;padding: 10px 20px;font-size: 15px;border-radius: 8px;transition: background-color 0.2s ease;width: 100%;}
.btn-primary:hover, .btn-primary:active {background-color: #1660aa;}
a {color: #0b4e92;text-decoration: underline;}
a:hover {text-decoration: none;}
h4{font-size: 17px;font-weight: 800;}



.header-title{width: 75%; display: block; margin: 0 auto;}

@media(max-width: 768px){
    .header-title{width: 100%; display: block; margin: 0 auto;}
}

/* Botão Enviar – hover personalizado */
.btn-primary {
    background-color: #165fa7;
    border-color: #165fa7;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: #0b4e92;
    border-color: #0b4e92;
    box-shadow: 0 6px 14px rgba(11, 78, 146, 0.25);
    transform: translateY(-1px);
}

/* Clique */
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(11, 78, 146, 0.35);
}

/* Spinner simples */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Botão em loading */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.85;
}

/* Overlay que cobre a página inteira */
.lgpd-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;

  background: rgba(11, 31, 51, 0.35);
  backdrop-filter: blur(2px);

  z-index: 9998;

  display: none; /* começa escondido */
  justify-content: center;
  align-items: flex-end;

  padding: 20px;
}

.lgpd-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
/* Barra LGPD */
.lgpd-bar {
  width: 100%;
  max-width: 1100px;
  background: linear-gradient(135deg, #0b1f33, #071422);
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  transition: opacity .3s ease, transform .3s ease;
}

/* Texto */
.lgpd-text strong {
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}

.lgpd-text p {
  font-size: 13px;
  margin: 0;
  opacity: .85;
  line-height: 1.4;
}

/* Checkbox custom (estável, sem bug visual) */
.lgpd-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}

.lgpd-check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #9fbbe0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.lgpd-check input:hover {
  border-color: #c7dbf7;
}

/* Checked */
.lgpd-check input:checked {
  background: #2a71e9;
  border-color: #2a71e9;
}

.lgpd-check input:checked::after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  display: block;
  text-align: center;
  line-height: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .lgpd-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.salas-flex .col-md-6 {
    display: flex;
}

.salas-flex .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 48px; /* força alinhamento uniforme */
}


.importante h4 .detalhe-azul {
    width: 4px;
    height: 18px;
    background:#a1bcfe;
    border-radius: 2px;
    display: inline-block;
}

.aviso-agendamento {
    margin-top: 20px;
    margin-bottom: 28px;
}


/* =========================================
   Aviso de erro - Data / Turno (INLINE)
   ========================================= */

/* Aviso de erro discreto – Data / Turno */
.aviso-erro-inline {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    background: #eef5ff;
    border-left: 4px solid #0d6efd;
    padding: 10px 14px;
    border-radius: 8px;

    font-size: 14px;
    color: #1e3a8a;
    margin-bottom: 14px;
}

.aviso-erro-inline .icone {
    font-size: 16px;
    line-height: 1.2;
}

.aviso-erro-inline .texto {
    line-height: 1.4;
}
