:root {
    /* Paleta de azuis baseada no design público */
    --primary-blue: #043d60;
    --secondary-blue: #0a5a8a;
    --light-blue: #4a90a4;
    --accent-blue: #007bff;
    --bg-blue: rgba(4, 61, 96, 0.02);
    --border-blue: rgba(4, 61, 96, 0.08);

    /* Gradientes modernos */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);

    /* Sombras com azuis */
    --shadow-light: 0 2px 8px rgba(4, 61, 96, 0.05);
    --shadow-medium: 0 4px 16px rgba(4, 61, 96, 0.08);
    --shadow-heavy: 0 8px 32px rgba(4, 61, 96, 0.12);
    --shadow-active: 0 6px 24px rgba(4, 61, 96, 0.15);

    /* Bordas e raios */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --footer-height: 72px; /* ajuste para a altura real do seu footer */

}

.private-body,
.main-content,
.content-wrapper {
  padding-bottom: calc(var(--footer-height) + 16px); /* 16px de folga extra */
}
.btn {
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-active);
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

body {
    background-color: #d4d9e2;
    /* Cor de fundo cinza */
}

.card-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

.card {
    margin-bottom: 20px;
}

.header-card,
.search-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-card {
    margin-top: 20px;
}

.custom-card {
    background-color: #d4d9e2;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icon-container {
    font-size: 30px;
    color: #043d60;
}

.icon-text {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    color: #043d60;
}

.custom-select,
.custom-input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    height: 40px;
}

.custom-select {
    background-color: #fff;
    color: #043d60;
    border: none;
}

.custom-select:focus,
.custom-input:focus {
    border-color: #007bff;
    outline: none;
}

.custom-input {
    background-color: #fff;
    color: #043d60;
    border: 1px solid #ccc;
}

button[type="submit"] {
    background-color: #007bff;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}


/* Barra de navegação fixa no rodapé */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #d4d9e2;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    height: 70px;
}

.nav-container {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

/* Adiciona um estilo para o botão USER e o menu suspenso */
.nav-item {
    background: none;
    border: none;
    outline: none;
    font-size: 14px;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 3px;
}

.nav-item.active {
    color: #043d60;
}

.nav-item:active {
    transform: scale(0.95);
}

/* Estilo para o menu suspenso */
.dropdown-menu {
    display: none;
    position: absolute;
    bottom: 60px;
    /* Ajuste de acordo com o espaço necessário */
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 150px;
    z-index: 100;
}

.dropdown-item {
    padding: 10px;
    text-decoration: none;
    color: #333;
    display: block;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
}


/* Estilos para o conteúdo da páginaV2  */

/* Layout Principal - Mobile First */
.private-body {
    background: #d4d9e2;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-bottom: 120px;
    /* Espaço para footer moderno */
    position: relative;
}

.private-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(4, 61, 96, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(10, 90, 138, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.main-content {
    position: relative;
    z-index: 2;
    padding: 16px;
    max-width: 100%;
    margin: 0; /* avoid centering that may highlight left gap with AdminLTE */
}

.content-wrapper {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
    padding: 20px;
    margin-bottom: 20px;
    margin-left: 0 !important; /* override AdminLTE sidebar offset */
    border: 1px solid var(--border-blue);
    backdrop-filter: blur(10px);
}

/* Tabelas modernas com cantos arredondados */
.modern-table {
    border-radius: 16px;
    overflow: hidden; /* garante recorte dos cantos do conteúdo interno */
    border: 1px solid var(--border-blue);
    box-shadow: var(--shadow-light);
}

.modern-table table {
    margin-bottom: 0; /* remove gap inferior da tabela dentro do wrapper */
}

/* Realce sutil nas linhas da tabela moderna */
.modern-table .table tbody tr:hover {
    background: linear-gradient(135deg, var(--bg-blue) 0%, rgba(4, 61, 96, 0.01) 100%);
}

/* Pills para números em células de tabela */
.number-pill {
    display: inline-flex
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    min-width: 42px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    border: 1px solid var(--border-blue);
    background: #fff;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(4, 61, 96, 0.06);
}

/* Variações suaves por tipo de número (aplicadas por coluna) */
.number-gvi { background: rgba(39, 174, 96, 0.10); border-color: rgba(39, 174, 96, 0.35); color: #1e7e34; }
.number-gvm { background: rgba(69, 123, 157, 0.10); border-color: rgba(69, 123, 157, 0.35); color: #0a5a8a; }
.number-gve { background: rgba(244, 162, 97, 0.12); border-color: rgba(244, 162, 97, 0.4); color: #bc6c25; }
.number-rf  { background: rgba(42, 157, 143, 0.10); border-color: rgba(42, 157, 143, 0.35); color: #2a9d8f; }
.number-re  { background: rgba(231, 111, 81, 0.12); border-color: rgba(231, 111, 81, 0.4); color: #c44536; }

/* Ajuste de células numéricas, caso não use spans (fallback sutil) */
.modern-table #registrosTable tbody td:nth-child(4),
.modern-table #registrosTable tbody td:nth-child(5),
.modern-table #registrosTable tbody td:nth-child(6),
.modern-table #registrosTable tbody td:nth-child(7),
.modern-table #registrosTable tbody td:nth-child(8) {
    text-align: center;
    vertical-align: middle;
}

/* Ajustes de DataTables para combinar com o tema */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    padding: 8px 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px;
    border: 1px solid transparent;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--bg-blue);
    border-color: var(--border-blue);
}






/* Dashboard Header */
.dashboard-header {
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.dashboard-header::after {
    top: 0;
    content: '';
    position: absolute;
    bottom: auto;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.dashboard-title-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.title-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-medium);
}

.title-content h2.dashboard-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin: 4px 0 0 0;
    font-weight: 500;
}

/* Responsividade para Charts */
@media (min-width: 768px) {
    .dashboard-title-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-content .header-title {
        font-size: 1.1rem;
        text-align: center;
    }
    .filter-section {
        width: auto;
        min-width: 300px;
    }

    .filter-wrapper {
        display: flex;
        gap: 16px;
        align-items: center;
        flex-wrap: wrap;
    }

    .select-wrapper {
        flex: 1;
        min-width: 200pxf
    }


    .title-content h2.dashboard-title {
        font-size: 2rem;
    }

    .status-cards-grid {
        grid-template
    .header-content .header-title {
        font-size: 1.1rem;
        text-align: center;
    }olumns: repeat(2, 1fr);
    }

    .chart-card.full-width {
        grid-column: 1 / -1;
    }

}


/* Grid responsivo para os cards */
.status-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.status-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(4, 61, 96, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.status-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0056b3 100%);
    box-shadow: 0 4px 16px rgba(4, 61, 96, 0.3);
}

.status-content {
    flex: 1;
}

.status-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Responsividade Melhorada - Desktop */
@media (min-width: 768px) {
    .main-content {
        padding: 24px;
        max-width: 100%;
    }
    .status-value {
        font-size: 18px;
    }
    .content-wrapper {
        padding: 32px;
    }

    .header-card {
        padding: 28px;
    }

    .table {
        font-size: 15px;
    }

    .table thead th {
        padding: 18px 16px;
        font-size: 12px;
    }

    .table tbody td {
        padding: 18px 16px;
        font-size: 14px;
    }

    .nav-container {
        max-width: 600px;
    }

    .nav-item {
        min-width: 80px;
    }

    .nav-label {
        font-size: 12px;
    }

    .nav-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .nav-icon-wrapper i {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 32px;
    }

    .content-wrapper {
        padding: 40px;
    }

    .header-card {
        padding: 32px;
    }
}

/* Responsividade Mobile - Pequenos */
@media (max-width: 576px) {
    .main-content {
        padding: 12px;
        padding-bottom: 100px;
    }

    .header-content .header-title {
        font-size: 1.1rem;
        text-align: center;
    }
    .content-wrapper {
        padding: 16px;
        border-radius: var(--radius-lg);
        margin-bottom: 24px;
    }

    .header-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .table {
        font-size: 12px;
    }

    .table thead th {
        padding: 12px 8px;
        font-size: 10px;
    }

    .table tbody td {
        padding: 12px 8px;
        font-size: 12px;
    }

    /* Melhorar responsividade da tabela */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-blue) rgba(4, 61, 96, 0.1);
    }

    .table-responsive::-webkit-scrollbar {
        height: 6px;
    }

    .table-responsive::-webkit-scrollbar-track {
        background: rgba(4, 61, 96, 0.1);
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-blue);
    }

    .table {
        min-width: 600px;
        /* Garantir largura mínima para scroll horizontal */
    }

    /* Ajustar botões em mobile */
    .btn-group {
        display: flex;
        gap: 4px;
    }

    .btn-sm {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* Melhorar formulário de busca em mobile */
    .header-card .d-flex {
        flex-direction: column;
        gap: 8px;
    }

    .header-card .form-select {
        margin: 0 !important;
    }

    .header-card .btn {
        width: 100%;
        margin-top: 8px;
    }

    .progress {
        height: 28px;
    }

    .progress-bar-text {
        line-height: 28px;
        font-size: 11px;
    }

    h5 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .btn-sm {
        padding: 8px 14px;
        font-size: 12px;
    }

    .form-select {
        padding: 12px 14px;
        font-size: 15px;
    }

    /* Footer mobile adjustments */
    .nav-container {
        padding: 6px 12px 10px;
    }

    .nav-item {
        padding: 6px 8px;
        min-width: 58px;
    }

    .nav-label {
        font-size: 10px;
        margin-top: 2px;
    }

    .nav-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .nav-icon-wrapper i {
        font-size: 20px;
    }

    .status-value {
        font-size: 14px;
    }

    .status-label {
        font-size: 14px;
    }
}
.card-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 12px 6px;
    border-bottom: 1px solid rgba(4, 61, 96, 0.08);
}

.header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 4px 16px rgba(4, 61, 96, 0.3);
}

.header-icon.warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
}

.header-content .header-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.header-content .header-subtitle {
    color: #6c757d;
    font-size: 13px;
    margin: 4px 0 0 0;
    font-weight: 500;
    line-height: 1.3;
}

.header-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-blue);
    color: var(--primary-blue);
    border: 1px solid var(--border-blue);
}

.header-badge.warning {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

  /* Cabeçalhos das tabelas simplificados */
  .table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 16px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    position: relative;
    letter-spacing: 0.3px;
}

.col-municipality {
    text-align: left !important;
}

.col-church {
    text-align: left !important;
}

/* Células da tabela centralizadas */
.table-row-clean {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(4, 61, 96, 0.05);
}

.table-row-clean:hover {
    background: linear-gradient(135deg, var(--bg-blue) 0%, rgba(4, 61, 96, 0.01) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.municipality-cell,
.church-cell-clean {
    padding: 16px;
    text-align: left;
    vertical-align: middle;
}

.municipality-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.municipality-name,
.church-name-clean {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 14px;
    line-height: 1.2;
}

.municipality-status {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-green {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}

.status-blue {
    background: var(--gradient-primary);
    color: white;
}

.status-yellow {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.status-red {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.centered-cell {
    padding: 16px;
    text-align: center;
    vertical-align: middle;
}

.value-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    min-width: 50px;
}

.value-badge.success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.value-badge.neutral {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(4, 61, 96, 0.3);
}

.value-badge.warning {
    background: linear-gradient(135deg, #919191 0%, #6e6e6e 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(4, 61, 96, 0.3);
}

.location-badge-clean {
    background: var(--bg-blue);
    color: var(--light-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-blue);
}

.status-badge-pending {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

/* Barras de progresso com cores vibrantes */
.progress-cell-modern {
    padding: 16px;
    text-align: center;
    vertical-align: middle;
    min-width: 200px;
}

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.progress-value {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-blue);
    letter-spacing: 0.3px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: var(--bg-blue);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-blue);
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 20px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-green {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

.progress-blue {
    background: var(--gradient-primary);
    box-shadow: 0 2px 8px rgba(4, 61, 96, 0.4);
}

.progress-yellow {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.progress-red {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(4, 61, 96, 0.3);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(4, 61, 96, 0.4);
    color: white;
    text-decoration: none;
}

/* Modal deve ficar fora da hierarquia do main-content */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;

    align-items: center !important;
    justify-content: center !important;
}

.modal-dialog {
    position: relative !important;
    margin: 0 !important;
    max-width: 90% !important;
    width: auto !important;
}

/* Modal compacto */
#editVisitModal .modal-dialog {
    max-width: 450px;
}

#editVisitModal .modal-body {
    padding: 1rem;
}

#editVisitModal .form-control-sm {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

#editVisitModal .form-label {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

#editVisitModal .alert {
    margin-bottom: 0.75rem;
}

#editVisitModal .alert-info {
    background-color: rgba(4, 61, 96, 0.1);
    border-color: rgba(4, 61, 96, 0.2);
    color: var(--primary-blue);
}

#editVisitModal .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

/* Espaçamento entre campos */
#editVisitModal .row.g-2 > * {
    padding: 0.25rem;
}

/* Forçar modal para fora de qualquer container */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    transform: none !important;
}

/* Backdrop cobrindo absolutamente tudo */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999998 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

/* Remover qualquer margin/transform que possa estar limitando */
.modal-dialog {
    margin: 0 auto !important;
    max-width: 90% !important;
    position: relative !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Adicione este CSS */
#toastContainer {
    position: fixed;
    z-index: 99999;
}


