:root {
    font-size: 14px; /* Tamanho base menor (padrão do Bootstrap é 16px) */
}

/* Ajustes adicionais se necessário */
body {
    font-size: 0.875rem; /* ~14px (se root for 16px) ou ~12.25px (se root for 14px) */
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    */
}

.header-page {
    background-color: rgb(40 59 132) !important;
}
/* Estilos personalizados */
#empresasTable {
    min-width: 100%;
    max-width: 100%;
}

.card {
    border: none;
    border-radius: 10px;
}

.alert {
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.text-muted {
    color: #6c757d !important;
}

header {
    background-color: #007bff;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

.list-group-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 5px;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

footer {
    background-color: #343a40;
}

footer img {
    filter: brightness(0) invert(1);
}

.form-select {
    font-size: 0.9rem
}

.form-control {
    font-size: 0.9rem
}
.label {
    font-size: 0.9rem
}
.label-areas {
    font-size: 0.75rem
}
.password-container {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .password-container input {
    padding-right: 40px; /* Espaço para o ícone */
    width: 100%;
  }
  
  .password-container button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d; /* Cor do ícone */
  }
  
  .password-container button:hover {
    color: #495057; /* Cor do ícone ao passar o mouse */
  }

  .dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_filter input {
    margin-left: 0.5rem;
}

.dt-buttons .btn {
    margin-left: 0.5rem;
}

/* Adicione ao seu arquivo custom.css */
#cardsContainer {
    margin-top: 20px;
}

.card {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 1.0rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-weight: 500;
}

.card-body p {
    margin-bottom: 0;
}

.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.toggle-wrapper {
    cursor: pointer;
}
.toggle-wrapper input[type="checkbox"] {
    display: none;
}
.toggle-wrapper .fa-toggle-off {
    color: #6c757d; /* Cor cinza para desativado */
}
.toggle-wrapper .fa-toggle-on {
    color: #0d6efd; /* Cor azul do Bootstrap para ativado */
}
.badge-activated {
    background-color: #198754; /* Verde do Bootstrap para ativado */
}

.table-responsive {
    overflow-x: unset !important;
}
/* Adicione isso no seu arquivo CSS ou na seção <style> */
.modal.fade.slide-left {
    transform: translateX(-100%);
}
.modal.fade.slide-left.show {
    transform: translateX(0);
}
.modal.fade.slide-right {
    transform: translateX(100%);
}
.modal.fade.slide-right.show {
    transform: translateX(0);
}

/* Transições suaves */
.modal {
    transition: transform 0.3s ease-out, opacity 0.15s linear;
    z-index: 1050;
}

#confirmQuestionModal {
    z-index: 1060;

}
/* Garante que o backdrop seja removido quando não há modais abertos */
body:not(.modal-open) .modal-backdrop {
    display: none !important;
}

/* Corrige o z-index para múltiplos modais */
.modal-backdrop {
    z-index: 1040;
}

.field-number {
    text-align:right;
}
.text-eleg {
    font-size: 0.6rem    
}
.blinking-row {
    animation: blink2 2s linear infinite;
}
  
@keyframes blink2 {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
 }

.session-timer {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.session-timer .time {
    font-weight: bold;
}

#renewSession {
    position: fixed;
    top: 65px;
    right: 20px;
    z-index: 9999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#sessionAlertModal .modal-header {
    color: #fff;
}
#file:invalid {
    border-color: #dc3545;
}
#file:valid {
    border-color: #28a745;
}
input[type="file"]::file-selector-button {
    visibility: hidden;
}
input[type="file"]::before {
    content: 'Selecione o arquivo';
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

        .email-container {
            max-width: 100%;
            border-radius: 10px;
            overflow: hidden;
        }
        .header {
            background-color: #2c3e50;
            color: white;
            padding: 30px 0;
        }
        .feature-icon {
            font-size: 1.75rem;
            margin-right: 10px;
            vertical-align: middle;
        }
        .confidentiality-section {
            background-color: #f8f9fa;
            border-left: 4px solid #3498db;
        }
        .benefit-item {
            margin-bottom: 15px;
        }
        .footer {
            background-color: #2c3e50;
            color: white;
            padding: 20px 0;
        }
        
        .chart-container {
            position: relative;
            height: 400px;
            margin-bottom: 30px;
        }
        .stats-card {
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .stats-header {
            border-radius: 10px 10px 0 0 !important;
        }
        #chartModal .modal-body {
            padding: 1rem;
        }

        #chartModal .chart-container {
            height: 70vh;
            margin-bottom: 0;
        }

        #chartModal .modal-xl {
            max-width: 90%;
        }
        .loading-msg {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 15px 30px;
            border-radius: 5px;
            z-index: 9999;
        }


                     @keyframes shake {
                         0% { transform: translateX(0); }
                         10% { transform: translateX(-10px); }
                         20% { transform: translateX(10px); }
                         30% { transform: translateX(-10px); }
                         40% { transform: translateX(10px); }
                         50% { transform: translateX(-10px); }
                         60% { transform: translateX(10px); }
                         70% { transform: translateX(-10px); }
                         80% { transform: translateX(10px); }
                         90% { transform: translateX(-10px); }
                         100% { transform: translateX(0); }
                     }
                     .shake-animation {
                         animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
                     }
                     