/* Estilos para el sistema de notificaciones */

/* Badge de notificaciones en el botón */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid var(--card, #1a1a1a);
}

/* Modal de notificaciones */
#notifications-modal .modal-card {
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

#notifications-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

#notifications-modal .modal-body {
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
}

/* Lista de notificaciones */
#notifications-list {
    padding: 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.05));
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.leida {
    opacity: 0.6;
}

.notification-item:not(.leida) {
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid var(--accent, #667eea);
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text, #ffffff);
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: var(--muted, rgba(255, 255, 255, 0.7));
    margin-bottom: 6px;
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: var(--muted, rgba(255, 255, 255, 0.5));
}

.notification-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent, #f97316);
    text-decoration: none;
    margin-left: 8px;
}

.notification-link:hover {
    text-decoration: underline;
}

.notification-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-icon-small {
    background: transparent;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text, #ffffff);
    font-size: 14px;
    transition: all 0.2s;
    padding: 0;
}

.btn-icon-small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent, #667eea);
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted, rgba(255, 255, 255, 0.5));
    font-size: 14px;
}

/* Estilos para el botón de notificaciones en el header */
#notifications-btn {
    position: relative;
}

