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;
}

/* ===============================
   LGPD - MODAL CORRIGIDO
================================ */

.lgpd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 20, 38, 0.68);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.lgpd-bar {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    color: #1f2937;
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
    border-top: 6px solid #0b4e92;
    transition: all 0.3s ease;
}

.lgpd-text strong {
    display: block;
    font-size: 21px;
    font-weight: 800;
    color: #0b4e92;
    margin-bottom: 10px;
}

.lgpd-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.lgpd-action {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.lgpd-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
}

.lgpd-check input {
    margin-top: 3px;
    transform: scale(1.15);
    cursor: pointer;
}

@media (max-width: 768px) {
    .lgpd-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .lgpd-bar {
        max-width: 100%;
        border-radius: 16px;
        padding: 22px 20px;
    }

    .lgpd-text strong {
        font-size: 18px;
    }

    .lgpd-text p,
    .lgpd-check {
        font-size: 14px;
    }
}
.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;
}

.modal-aviso-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

.modal-aviso{
    width:420px;
    max-width:90%;
    background:#fff;
    border-radius:12px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.modal-aviso-icon{
    font-size:42px;
    margin-bottom:10px;
}

.modal-aviso h4{
    color:#d97706;
    margin-bottom:12px;
}

.modal-aviso p{
    color:#555;
    margin-bottom:20px;
}

.modal-aviso button{
    background:#dc3545;
    color:#fff;
    border:none;
    padding:10px 20px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
}

.modal-aviso button:hover{
    background:#bb2d3b;
}
