/* Estilos gerais do sistema */
:root {
    --primary-color: #04517F;
    --secondary-color: #04517F;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-gray: #ecf0f1;
    --dark-gray: #7f8c8d;
    --text-color: #333;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    font-size: 0.9rem;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Estilo para Sidebar */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    position: relative;
}

#sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background: var(--primary-color);
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    height: 100vh;
    z-index: 999;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

#sidebar.active {
    min-width: var(--sidebar-collapsed-width);
    max-width: var(--sidebar-collapsed-width);
    text-align: center;
}

#sidebar.active .sidebar-header h3 {
    display: none;
}

#sidebar.active .sidebar-header .sidebar-toggle {
    display: block;
}

/* Estilos para o logo personalizado */
.sidebar-header .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.sidebar-header .logo {
    max-width: 90%;
    max-height: 60px;
    object-fit: contain;
}

#sidebar.active .sidebar-header .logo-container {
    padding: 5px 0;
}

#sidebar.active .sidebar-header .logo {
    max-height: 40px;
}

#sidebar ul li a {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    color: #fff;
    background: var(--secondary-color);
}

#sidebar ul ul a {
    padding-left: 30px !important;
    background: var(--secondary-color);
}

#sidebar.active ul li a {
    padding: 15px 10px;
    text-align: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

/* Ocultar apenas o texto dos links, mantendo ícones visíveis */
#sidebar.active ul li a {
    color: transparent;
}

#sidebar.active ul li a i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.6em !important;
    display: block !important;
    margin-right: 0;
    margin-bottom: 0;
}

#sidebar.active ul li a:hover i {
    color: #fff;
}

/* Garantir que badges também fiquem visíveis */
#sidebar.active ul li a .badge {
    font-size: 0.7rem;
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
}

#sidebar.active .dropdown-toggle::after {
    display: none;
}

/* Ocultar submenus quando sidebar está recolhido */
#sidebar.active ul ul {
    display: none !important;
}

/* Tooltip para mostrar texto ao passar o mouse quando recolhido */
#sidebar.active ul li a {
    position: relative;
}

#sidebar.active ul li a:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    margin-left: 10px;
    pointer-events: none;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid var(--secondary-color);
}

#sidebar ul li a i {
    margin-right: 10px;
}

/* Estilo para Conteúdo */
#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: var(--sidebar-width);
}

/* Ajuste do conteúdo quando sidebar está recolhido */
#sidebar.active~#content {
    margin-left: var(--sidebar-collapsed-width);
}

#sidebar.active+#content {
    margin-left: var(--sidebar-collapsed-width);
}

/* Regra específica para sidebar em modo mobile */
#sidebar.mobile-hidden {
    margin-left: -250px !important;
}

/* Regras para dispositivos móveis */
@media (max-width: 768px) {
    #sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 999;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }

    #sidebar.active {
        margin-left: 0;
        min-width: var(--sidebar-width);
        max-width: var(--sidebar-width);
    }

    #content {
        margin-left: 0;
        width: 100%;
        padding: 15px 10px;
    }

    #sidebar.active+#content {
        margin-left: 0;
    }

    .mobile-nav-overlay {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .mobile-nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Ajustes para elementos da interface em mobile */
    /* Estilos específicos para os cards do dashboard */
    .dashboard .card.border-left-primary,
    .dashboard .card.border-left-success,
    .dashboard .card.border-left-warning,
    .dashboard .card.border-left-danger {
        padding: 0 !important;
        height: 100%;
        overflow: hidden;
        border: none !important;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        background: none;
    }

    .dashboard .card.h-100.py-2 {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0 !important;
        background: none;
        border: none;
    }

    .table-responsive {
        margin-bottom: 0;
    }

    .btn-sm {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 6px;
        letter-spacing: 0.3px;
        font-weight: 500;
    }

    /* Melhorias para formulários em dispositivos móveis */
    .form-group {
        margin-bottom: 0.75rem;
    }

    /* Ajustes para tabelas em dispositivos móveis */
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Melhor espaçamento para cards em dispositivos móveis */
    .card-header {
        padding: 0.75rem 1rem;
    }

    /* Melhorar a usabilidade de botões em telas pequenas */
    .btn-group-sm>.btn,
    .btn-sm {
        margin: 2px;
    }

    /* Reduzir espaçamentos em dispositivos móveis */
    .container-fluid {
        padding: 1.5rem;
        background: linear-gradient(120deg, #fdfbfb 0%, #f5f7fa 100%);
    }

    /* Ajuste para páginas de detalhe */
    h1.h3 {
        font-size: 1.4rem;
    }
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-area {
    padding: 20px;
}

/* Cards e Dashboards */
.card {
    border: 1px solid rgba(4, 81, 127, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 1);
}

.card.border-left-primary .dashboard-stat,
.card.border-left-success .dashboard-stat,
.card.border-left-warning .dashboard-stat,
.card.border-left-danger .dashboard-stat {
    border-radius: 16px;
    margin: 0;
    height: 100%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 1);
}

.card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #0575B3;
    transform: translateY(-5px);
}

/* Dashboard stats */
.card.border-left-primary .dashboard-stat,
.card.border-left-success .dashboard-stat,
.card.border-left-warning .dashboard-stat,
.card.border-left-danger .dashboard-stat {
    padding: 25px;
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    border: none;
    box-shadow: none;
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    margin: 0;
}

.dashboard-stat.primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
}



.dashboard-stat.success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    position: relative;
}



.dashboard-stat.warning {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    position: relative;
}



.dashboard-stat.danger {
    background: linear-gradient(135deg, #fa709a 0%, #fe8f40 100%);
    position: relative;
}



.dashboard-stat .stat-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 4em;
    opacity: 0.2;
    transform: rotate(-5deg);
    transition: all 0.5s;
}

.dashboard-stat:hover .stat-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.3;
}

.dashboard-stat .stat-number {
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-stat .stat-title {
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.8px;
    opacity: 0.9;
    text-transform: uppercase;
    font-size: 0.9em;
}

.card-header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(4, 81, 127, 0.15);
    padding: 18px 24px;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.5px;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #04517F, transparent);
    opacity: 0.7;
}

.card-body {
    padding: 24px;
    /* background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.8), rgba(240, 245, 255, 0.9)); */
    overflow: hidden;
    flex: 1;
}

.card-header .m-0.font-weight-bold {
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.card-header .m-0.font-weight-bold i {
    margin-right: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(4, 81, 127, 0.1);
    transition: all 0.3s ease;
}

.card-title {
    margin: 0;
    color: var(--primary-color);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* Tabelas */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 20px rgba(4, 81, 127, 0.07);
}

.table {
    margin-bottom: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.table thead th {
    background: linear-gradient(to right, var(--primary-color), #0575B3);
    color: white;
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85em;
    padding: 12px 15px;
    position: relative;
    overflow: hidden;
}

.table thead th::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

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

    100% {
        left: 150%;
    }
}

/* Forms */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), #0575B3);
    border: none;
}

.btn-success {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(to right, #27ae60, #219a52);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    transform: translateY(-2px);
}

.btn-danger:hover {
    background: linear-gradient(to right, #c0392b, #a93226);
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid rgba(4, 81, 127, 0.3);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(4, 81, 127, 0.05), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 100%;
}

.btn-outline-primary:hover {
    border-color: var(--primary-color);
    background-color: rgba(4, 81, 127, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(4, 81, 127, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #0575B3, #04517F);
    box-shadow: 0 5px 15px rgba(4, 81, 127, 0.3);
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.table tbody tr:hover td {
    background-color: rgba(4, 81, 127, 0.04);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* Tela de Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.login-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
    flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 768px) {
    #sidebar {
        min-width: var(--sidebar-collapsed-width);
        max-width: var(--sidebar-collapsed-width);
        text-align: center;
        margin-left: -var(--sidebar-collapsed-width);
    }

    #sidebar.active {
        margin-left: 0;
    }

    #content {
        width: 100%;
    }

    #sidebar.active+#content {
        width: calc(100% - var(--sidebar-collapsed-width));
    }

    #sidebarCollapse span {
        display: none;
    }

    .dashboard-stat {
        margin-bottom: 15px;
    }
}

/* Estilos para alertas e notificações */
.dropdown-menu {
    padding: 0;
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

/* Upload de arquivos */
.custom-file-upload {
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

.custom-file-upload:hover {
    background-color: #e9ecef;
}

/* Badges e status */
.badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-size: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    text-transform: uppercase;
}

.status-ativo {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
}

.status-inativo,
.status-desligado {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    color: white;
}

.status-manutencao,
.status-afastado {
    background-color: var(--warning-color);
    color: white;
}

.status-pendente {
    background: linear-gradient(to right, #f39c12, #e67e22);
    color: white;
}

/* Timelines e históricos */
.chart-area {
    position: relative;
    height: 250px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: none;
    border-radius: 16px;
    padding: 10px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
    box-shadow: 0 10px 30px rgba(4, 81, 127, 0.1);
}

.timeline {
    list-style-type: none;
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: ' ';
    background: #dee2e6;
    display: inline-block;
    position: absolute;
    left: 9px;
    width: 2px;
    height: 100%;
    z-index: 1;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-item:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    left: -39px;
    top: 0;
    width: 20px;
    height: 20px;
    z-index: 1;
}

/* Tooltips e popovers personalizados */
.tooltip-inner {
    background-color: var(--primary-color);
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
    border-top-color: var(--primary-color);
}

/* Print styles */
@media print {

    #sidebar,
    .navbar,
    .no-print {
        display: none !important;
    }

    #content {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    #graficoManutencoes,
    #graficoOcorrencias {
        max-width: 100% !important;
        height: 230px !important;
    }
}

/* Select2 customização */
.select2-container--default .select2-selection--single {
    height: 38px;
    padding: 5px;
    border: 1px solid #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container--default {
    height: 36px;
}

/* Restaurando o estilo original para cards fora do dashboard */
.card.bg-primary,
.card.bg-success,
.card.bg-warning,
.card.bg-danger,
.card.bg-info,
.card.bg-secondary {
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Cores específicas para os cards de alerta */
.card.bg-primary {
    background-color: #4e73df !important;
}

.card.bg-danger {
    background-color: #e74a3b !important;
}

.card.bg-warning {
    background-color: #f6c23e !important;
}

.card.bg-success {
    background-color: #1cc88a !important;
}

.card.bg-info {
    background-color: #36b9cc !important;
}

.card.bg-secondary {
    background-color: #858796 !important;
}



.dashboard .card.border-left-primary,
.dashboard .card.border-left-success,
.dashboard .card.border-left-warning,
.dashboard .card.border-left-danger {
    overflow: hidden;
    height: 100%;
    padding: 0 !important;
}


th {
    color: white !important;
}

#observacoes {
    text-align: left !important;
    direction: ltr !important;
}

/* Dá um respiro entre um input e o label de cima */
.form-label {
    margin-top: 0.5rem;
    /* 8px */
}

/* Mas o primeiro label de cada grupo (row) continua colado ao topo */
.row .col-md-6:first-child .form-label,
.row .col-md-4:first-child .form-label,
.row .col-md-12:first-child .form-label {
    margin-top: 1;
}

/* Botões de paginação padrão */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #046197 !important;
    /* Azul personalizado */
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    margin: 0 2px;
    padding: 5px 10px;
    transition: all 0.2s ease;
    font-weight: 500;
}

/* Ao passar o mouse */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #046197 !important;
    color: #fff !important;
    border: 1px solid #046197 !important;
    box-shadow: 0 0 4px rgba(4, 97, 151, 0.4);
}

/* Botão ativo (página atual) */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #046197 !important;
    color: #fff !important;
    border: 1px solid #046197 !important;
    box-shadow: 0 0 6px rgba(4, 97, 151, 0.5);
}

/* Ao clicar (efeito de pressão) */
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    background-color: #034d7a !important;
    /* tom um pouco mais escuro */
    color: #fff !important;
    border: 1px solid #034d7a !important;
}

/* Estilos para o dropdown de alertas */
#alertDropdown {
    position: relative;
    transition: all 0.3s ease;
}

/* Efeito hover no ícone do sino */
#alertDropdown:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Estilo para os itens do dropdown de alertas */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
    border-radius: 0;
}

/* Efeito hover nos itens de alerta */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:hover {
    background-color: #6c757d;
    color: white;
}

/* Hover específico para alertas de alta prioridade */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:has(.bg-danger):hover {
    background-color: #6c757d;
    color: white;
}

/* Hover específico para alertas de média prioridade */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:has(.bg-warning):hover {
    background-color: #6c757d;
    color: white;
}

/* Hover específico para alertas de baixa prioridade */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:has(.bg-secondary):hover {
    background-color: #6c757d;
    color: white;
}

/* Efeito hover no título do alerta */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:hover strong {
    color: white;
    letter-spacing: 0.3px;
}

/* Efeito hover no link "Ver todos" */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item.text-center:hover {
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 500;
}

/* Badge do contador de alertas com animação */
#alertDropdown .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Animação suave ao abrir o dropdown */
.dropdown-menu[aria-labelledby="alertDropdown"] {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sombra mais intensa no dropdown quando aberto */
.dropdown-menu[aria-labelledby="alertDropdown"].show {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Efeito visual na data de vencimento ao hover */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:hover .text-muted {
    color: #e9ecef !important;
    font-weight: 500;
}

/* Animação no badge de prioridade ao hover */
.dropdown-menu[aria-labelledby="alertDropdown"] .dropdown-item:hover .badge {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

