/* Notificaciones - Contenedor y Botón Bell Independiente */

@media (min-width: 868px) {
    .notif-right {
        right: 0 !important;
        left: unset !important;
    }
}

.nv-notif-bell-container {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 990;
}

.navbar-inverse .nv-notif-bell-btn {
    color: #ffffff;
}

.navbar-inverse .nv-notif-bell-btn:hover,
.navbar-inverse .nv-notif-bell-btn:focus {
    color: #ffffff;
    opacity: 0.85;
}

.navbar-default .nv-notif-bell-btn {
    color: #333333;
}

.navbar-default .nv-notif-bell-btn:hover,
.navbar-default .nv-notif-bell-btn:focus {
    color: #000000;
}

/* Panel Flotante Superpuesto (notif-panel) */
.notif-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    width: 340px;
    max-width: calc(100vw - 30px);
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    overflow: hidden;
}

/* En móviles pequeños (< 480px), fijar posición bajo el header */
@media (max-width: 480px) {
    .notif-panel {
        position: fixed;
        top: 55px;
        left: 15px;
        right: 15px;
        width: auto;
        max-width: none;
    }
}

.notif-panel-header {
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    color: #333333;
}

.notif-panel-header a {
    font-size: 11px;
    color: #6c757d;
    text-decoration: none;
}

.notif-panel-header a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.notif-panel-body {
    max-height: 340px;
    overflow-y: auto;
    background-color: #ffffff;
}

.notif-panel-body .notif-dropdown-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

.notif-panel-body .notif-dropdown-item:hover {
    background-color: #f8f9fa !important;
}

.notif-panel-footer {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
}

.notif-panel-footer a {
    font-weight: 600;
    color: #337ab7;
    text-decoration: none;
}

.notif-panel-footer a:hover {
    text-decoration: underline;
}

/* FIN Notificaciones - Contenedor y Botón Bell Independiente */