/* Fonte */
@font-face {
    font-family: 'PT Sans Regular';
    src: url('../../../fonte/PTSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'PT Sans Bold';
    src: url('../../../fonte/PTSans-Bold.ttf') format('truetype');
}

/* Tags */
h1, h2, h3, h4, h5, .btn-primario, footer a {
    font-family: 'PT Sans Bold', sans-serif;
}

p, span, small, a {
    font-family: 'PT Sans Regular', sans-serif;
}

section {
    padding: 190px 0;
}


/* Menu */
.menu {
    position: fixed !important;
    width: 100%;
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-body-bg);
    z-index: 1;
}

.menu a {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.navbar-toggler {
    border: 1px solid var(--bs-body-bg) !important;
}

/* Rodapé */
footer {
    text-align: center;

    padding-bottom: 1rem;
}

footer a {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

/* Classes */
#scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: var(--bs-body-bg);
}

#scroll::-webkit-scrollbar {
    width: 12px;
    background-color: var(--bs-body-bg);
}

#scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--bs-body-color);
}

.flex1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.flex2 {
    display: flex;
    justify-content: center;
}

.flex3 {
    display: flex;
    flex-wrap: wrap;
}

.flex4 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.banner h1 {
    color: var(--bs-secondary);
    font-size: 55px;
}

.banner-background {
    margin: 30px;
    position: relative;
    display: inline-block;
}

.banner-background img {
    border-radius: 30px;
}

/* Base para ambas as bordas */
.banner-background::before,
.banner-background::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 40px solid; /* Espessura da borda grossa */
    border-radius: 30px; /* Deve ser igual ou maior que o da foto */
    z-index: -1; /* Fica atrás da foto */
}

/* Borda Superior Direita */
.banner-background::before {
    top: -25px;
    right: -25px;
    border-color: var(--bs-primary); /* Cor 1 */
}

/* Borda Inferior Esquerda */
.banner-background::after {
    bottom: -25px;
    left: -25px;
    border-color: var(--bs-secondary); /* Cor 2 */
}

/* Procedimentos */
.procedimentos {
    background-color: var(--bs-body-bg);
}

.procedimentos h2 {
    color: var(--bs-secondary);
    margin-bottom: 4rem;
}

.procedimentos img {
    border-radius: 30px;
    max-width: 272px;
    margin: 0 auto;
    display: block;
}

.procedimentos h4 {
    color: var(--bs-primary);
    text-align: center;
    font-size: 22px;
    margin: .5rem 0 2rem;
}

/* Profissionais */
.profissionais {
    background-color: var(--bs-secondary);
    color: var(--bs-white);
}

.profissionais h2 {
    margin-bottom: 4rem;
}

.profissionais img {
    border-radius: 50px;
    max-width: 220px;
    margin: 0 auto;
    display: block;
}

.profissionais h5,
.profissionais p {
    text-align: center;
}

.profissionais h5 {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Contato */
.contato iframe {
    width: 100%;
    height: 474px;
    border-radius: 60px;
}

.contato h2 {
    color: var(--bs-secondary);
}

.info-contato img {
    width: 15px;
    margin-right: .3rem;
}

.redes {
    margin: 1rem 0;
}

.redes img {
    width: 25px;
    margin-right: .5rem;
}

.contato .btn-primario {
    max-width: 352px;
}

.card {
    border: 1px solid var(--bs-gray-500) !important;
    max-width: 240px !important;
    padding: 1rem !important;
    margin-right: 1rem;
    border-radius: 12px;
}

.card.procedimentos h4 {
    font-size: 18px;
    margin: 1rem 0;
}

.card.procedimentos img {
    border-radius: 12px !important;
}

.card.procedimentos {
    margin-bottom: 1rem;
}

.sel-horario .btn, .sel-data .btn {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    margin-right: .5rem;
    font-weight: 700;
}

.sel-horario .btn:hover, .sel-data .btn:hover {
    background-color: var(--bs-primary) !important;
}

.btn-check:checked + .btn, .btn-check:active + .btn, .btn:active, .btn.active, .show > .btn.dropdown-toggle {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-check:checked + .btn.btn-sel-proc, .btn-check:active + .btn.btn-sel-proc, .btn:active, .btn.btn-sel-proc.active, .show > .btn.btn-sel-proc.dropdown-toggle {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.form-dados .form-control {
    margin-bottom: 1rem;
}

.form-dados .form-control:focus {
    border-color: var(--bs-secondary) !important;
    box-shadow: none !important;
}

.agenda {
    height: 96vh;
}

.error {
    color: var(--bs-red);
    font-size: 0.7rem;
}

input.error {
    border: 1px solid var(--bs-red);
}

table.dataTable {
    margin-top: 15px;
}

table.table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

table.dataTable td {
    vertical-align: middle;
}

:root {
    /* Smart Wizard */
    /* Estrutura e Loader */
    --sw-loader-color: var(--bs-primary);
    --sw-loader-background-color: rgba(255, 255, 255, 0.85);
    --sw-loader-background-wrapper-color: rgba(255, 255, 255, 0.5);
    --sw-border-color: var(--bs-border-color);
    --sw-progress-color: var(--bs-primary);
    --sw-progress-background-color: var(--bs-secondary-bg);

    /* Botões */
    --sw-toolbar-btn-color: #fff;
    --sw-toolbar-btn-background-color: var(--bs-primary);

    /* Steps - Estado Padrão (Default) */
    --sw-anchor-default-primary-color: var(--bs-gray-600);
    --sw-anchor-default-secondary-color: var(--bs-gray-500);

    /* Steps - Estados Ativos e Concluídos */
    --sw-anchor-active-primary-color: var(--bs-primary);
    --sw-anchor-active-secondary-color: #fff;
    --sw-anchor-done-primary-color: var(--bs-success); /* Verde é melhor para 'concluído' */
    --sw-anchor-done-secondary-color: #fff;

    /* Erro e Aviso */
    --sw-anchor-error-primary-color: var(--bs-danger);
    --sw-anchor-error-secondary-color: #fff;
    --sw-anchor-warning-primary-color: var(--bs-warning);
    --sw-anchor-warning-secondary-color: #212529;
}

[data-bs-theme="dark"] {
    --sw-loader-background-color: rgba(0, 0, 0, 0.85);
    --sw-loader-background-wrapper-color: rgba(0, 0, 0, 0.5);
    /* No dark, o step padrão deve ser mais escuro que o fundo */
    --sw-anchor-default-primary-color: var(--bs-dark);
}

/* Ajustes globais para SweetAlert2 acompanhar o Bootstrap */
.swal2-popup {
    font-family: var(--bs-body-font-family), serif;
}

/* Quando o tema dark do Bootstrap estiver ativo */
[data-bs-theme="dark"] .swal2-popup {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .swal2-title,
[data-bs-theme="dark"] .swal2-html-container {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .swal2-footer {
    border-top: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
}

/* Ajuste das bordas dos inputs dentro do alerta */
[data-bs-theme="dark"] .swal2-input,
[data-bs-theme="dark"] .swal2-textarea {
    background-color: var(--bs-body-bg, #2b3035); /* Cor de input do BS Dark */
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}
