#notificaciones {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999999999;
}

.noti {
    background-color: #4CAF50;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeinout 8s ease-in-out forwards;
}

.noti-ok{
    background-color: #4CAF50;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeinout 8s ease-in-out forwards;
}

.noti-notok {
    background-color: #e13a3a;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeinout 8s ease-in-out forwards;
}

@keyframes fadeinout {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

 /* Estilos Generales del Header */
    #header {
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Alinea el contenido a la derecha */
        padding: 10px 30px;
        background-color: #f1f1f1;
        font-family: 'Rubik', sans-serif;
    }

    /* Nuevo contenedor para los elementos de la derecha */
    .header-right-items {
        display: flex;
        align-items: center;
        gap: 20px; /* Espacio entre la campana y el logo */
    }

    .header-logo img {
        display: block;
    }

    /* Contenedor de Notificaciones */
    .notifications-container {
        position: relative;
    }
    
    /* ... (El resto de los estilos de la campana, menú, botones, etc. se mantienen igual) ... */
    .notification-bell {
        position: relative;
        cursor: pointer;
        color: #13242f;
    }

    .notification-bell .fa-bell {
        font-size: 24px;
    }

    .badge {
        position: absolute;
        top: -5px;
        right: -10px;
        background-color: #28a745;
        color: white;
        border-radius: 50%;
        padding: 2px 6px;
        font-size: 12px;
        font-weight: bold;
        line-height: 1;
        border: 2px solid #f1f1f1;
    }

    .notifications-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        width: 350px;
        background-color: #ffffff;
        border-radius: 8px;
        border: 1px solid #F1F1F1;
        z-index: 1000;
        overflow: hidden;
    }

    .notifications-dropdown::before {
        content: '';
        position: absolute;
        bottom: 100%;
        right: 10px;
        border: 8px solid transparent;
        border-bottom-color: #ffffff;
    }
    
    .dropdown-header {
        padding: 12px 15px;
        font-weight: 600;
        font-size: 16px;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }

    .notification-list {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 320px;
        overflow-y: auto;
    }

    .notification-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        font-size: 14px;
        color: #555;
        border-bottom: 1px solid #f0f0f0;
        transition: opacity 0.3s ease;
    }
    
    .notification-item:last-child {
        border-bottom: none;
    }

    .notification-item.is-read {
        opacity: 0.6;
    }
    
    .notification-time {
        font-size: 12px;
        color: #999;
        margin-top: 4px;
    }

    .notification-actions {
        display: flex;
        align-items: center;
        margin-left: 15px;
    }

    .action-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        margin-left: 5px;
        color: #888;
        font-size: 14px;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s, color 0.2s;
    }

    .action-btn:hover {
        background-color: #f0f0f0;
    }

    .action-btn.mark-read-btn:hover {
        color: #28a745;
    }

    .action-btn.delete-btn:hover {
        color: #dc3545;
    }

    .notification-list::-webkit-scrollbar {
        width: 6px;
    }
    .notification-list::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    .notification-list::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    .notification-list::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
