/* ============================================
   NOTIFICACIONES - CSS
   ============================================ */

/* Posicionamiento relativo para navbar-actions */
.navbar-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Botón de campana */
.btn-notification {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.btn-notification:hover {
    color: var(--rock-gold, #ffd700);
}

/* Badge de notificaciones */
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Dropdown de notificaciones */
.notification-menu {
    position: absolute;
    top: 100%;
    right: 60px;
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background: #1a1a2e;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.notification-menu.show {
    display: block;
}

.notification-menu .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}

.dropdown-title {
    font-weight: 600;
    color: var(--rock-gold, #ffd700);
}

.mark-all-read {
    font-size: 0.8rem;
    color: #aaa;
    text-decoration: none;
}

.mark-all-read:hover {
    color: var(--rock-gold, #ffd700);
}

/* Lista de notificaciones */
.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

/* Estado vacío */
.no-notifications {
    text-align: center;
    padding: 2rem;
    color: #888;
}

.no-notifications i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Item de notificación */
.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    position: relative;
}

.notification-item:hover {
    background: rgba(255,215,0,0.1);
}

.notification-item.unread {
    background: rgba(255,215,0,0.05);
}

/* Icono de notificación */
.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,215,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.notification-icon i {
    color: var(--rock-gold, #ffd700);
    font-size: 0.9rem;
}

/* Contenido de notificación */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #fff;
}

.notification-text strong {
    color: var(--rock-gold, #ffd700);
}

.notification-time {
    font-size: 0.75rem;
    color: #888;
    display: block;
    margin-top: 0.25rem;
}

/* Indicador de no leído */
.unread-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    margin-left: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}
