/* Main Layout Styles */
body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Dropdown Styles */
.dropdown-dashboard {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s;
}

.dropdown-dashboard.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


/* Adicione ao seu CSS global */
.modal-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.modal-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Estilos para mensagens de alerta em posição fixa */
#alertContainer {
    pointer-events: none;
}

#alertContainer .alert-message {
    pointer-events: auto;
    position: relative;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    min-width: 300px;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#alertContainer .alert-message.fade-out {
    animation: slideOutRight 0.5s ease-out forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
        max-height: 200px;
        margin-bottom: 0.75rem;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }
}